bug 1308630: Use duck typing for path regex
bug 1308630: Use duck typing for path regex

SphinxKnight/kuma,SphinxKnight/kuma,SphinxKnight/kuma,SphinxKnight/kuma,Elchi3/kuma,a2sheppy/kuma,a2sheppy/kuma,mozilla/kuma,a2sheppy/kuma,escattone/kuma,a2sheppy/kuma,jwhitlock/kuma,Elchi3/kuma,mozilla/kuma,escattone/kuma,Elchi3/kuma,Elchi3/kuma,Elchi3/kuma,mozilla/kuma,jwhitlock/kuma,jwhitlock/kuma,SphinxKnight/kuma,mozilla/kuma,jwhitlock/kuma,jwhitlock/kuma,a2sheppy/kuma,mozilla/kuma,escattone/kuma,SphinxKnight/kuma