class X::Syntax::Regex::SolitaryQuantifier
ErrorsCollection

class X::Syntax::Regex::SolitaryQuantifier

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