Did you expect to get bitwise-or evaluated to match twelve characters? Or did you expect regex alternation to get it to match exactly four or exactly eight?
I think the regex engine gave up on compiling a quantifier when it hit incompatible syntax. That would leave the braces as literal.
After Compline,
Zaxo
In reply to Re: what means this regex? $x = qr/[0-9a-f]{4|8}/
by Zaxo
in thread what means this regex? $x = qr/[0-9a-f]{4|8}/
by kidongrok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |