in reply to Re: What regex can match arbitrary-length quoted string?
in thread What regex can match arbitrary-length quoted string?
$_ = '"' . ('x\"' x 100000) . '"'; print "NOT MATCHED!\n" unless /^ " (?: [^"\\]+ | (?: \\. )+ )*+ " /x; __END__ Complex regular subexpression recursion limit (32766) exceeded at foo +line 4. NOT MATCHED!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: What regex can match arbitrary-length quoted string?
by QM (Parson) on Oct 03, 2017 at 10:46 UTC | |
|
Re^3: What regex can match arbitrary-length quoted string?
by jimav (Sexton) on Aug 26, 2023 at 00:29 UTC |