http://qs321.pair.com?node_id=1152542


in reply to Re^2: dir match, dir may or may not appear
in thread dir match, dir may or may not appear

a quantifier is +

a quantifier is {0,1}

You can't have {0,1}{0,1}{0,1}{0,1}

You can't have +{0,1}+{0,1}

If you want a pattern ([^/]+) to repeat, you have to group it

perlre, perlretut, perlrequick describe these words I've used, go fish