unit module IUtils::Regexes; my token comment-start { \- \- } my token type { 'test' | 'bench' } my token flag { \@ \@ } my token name { <[\w \-]>+ } my regex flagged-expression is export { <&comment-start> \h* \h* \V* \v [<&comment-start> \V* \v]* \h+ \: \V* \v } my regex module-name is export { 'module' \h* $=(\S+) }