demerphq wrote: >$ perl -wle'qr/\A{10}/' > >Quantifier unexpected on zero-length expression in regex m/\A{10}/ at -e line 1. That's just a warning. It does actually parse as I stated. >should probably do something like reduce any quantifier on an >assertion to something like ? (IOW, 0 or 1). That would be a sensible optimisation, but has essentially nothing to do with whether it's syntactically permitted to attach a quantifier directly to an assertion. -zeframThread Previous | Thread Next