does X::Syntax
Syntax error when a stand alone quantifier (without a preceding atom to quantify) is encountered in a regular expression.
For example
/ * /;
dies with
===SORRY!=== Quantifier quantifies nothing
Compilation error due to a regex quantifier without preceding atom
does X::Syntax
Syntax error when a stand alone quantifier (without a preceding atom to quantify) is encountered in a regular expression.
For example
/ * /;
dies with
===SORRY!=== Quantifier quantifies nothing