T M
class X::Syntax::Regex::SolitaryQuantifier
Error ReportCollection examples

Compilation error due to a regex quantifier without preceding atom

class X::Syntax::Regex::SolitaryQuantifier 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