$ perl -E'say "aaa" =~ /a{2,}/' 1 $ perl -E'say "aaa" =~ /a{2,1}/' Can't do {n,m} with n > m in regex; marked by <-- HERE in m/a{2,1} <-- + HERE / at -e line 1.
In reply to Re^5: Oddness with regex quantifiers
by ikegami
in thread Oddness with regex quantifiers
by talexb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |