Your regexes are not identical:
First, the P6 version reads <-[\\]> . where your P5 version reads [\\]. without negation.
Second, in P6 `|` is subject to longest-token matching, whereas you need to use `||` to match alternatives sequentially.
In reply to Re: Perl6 Regex extremely slow
by Anonymous Monk
in thread Perl6 Regex extremely slow
by czipperz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |