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

Quantifier quantifies nothing


Type relations for X::Syntax::Regex::SolitaryQuantifier
raku-type-graph X::Syntax::Regex::SolitaryQuantifier X::Syntax::Regex::SolitaryQuantifier Exception Exception X::Syntax::Regex::SolitaryQuantifier->Exception X::Syntax X::Syntax X::Syntax::Regex::SolitaryQuantifier->X::Syntax Mu Mu Any Any Any->Mu Exception->Any X::Comp X::Comp X::Comp->Exception X::Syntax->Exception X::Syntax->X::Comp

Expand chart above