$ perl -e '$s = join("", (("<object>") x 160_000)); $re = qr/^(?:<o +bject>)+$/; print "ok\n" if $s =~ /$re/;' ok
-sam
In reply to Re^4: Is there a hard limit on + in a regex?
by samtregar
in thread Is there a hard limit on + in a regex?
by samtregar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |