Re: PCRE -> Perl 6 RE

2020-02-18 Thread Paul Procacci
Right, I'm going with bug. https://github.com/rakudo/rakudo/issues/2624 It looks like there's some discussion about dropping Perl5 regex support from the engine. I didn't want to translate this by hand as there's too many regexes within this source file to do so by hand (I lean on the Perl5 adve

Re: PCRE -> Perl 6 RE

2020-02-18 Thread Brad Gilbert
The \p{L} syntax is done by using :L inside of <> instead /\p{L}/ /<:L>/ You can combine them /[\p{L}\p{Z}\p{N}]/ /<:L + :Z + :N>/ Character classes are also done inside of <> /[_.:/=+\-@]/ /<[_.:/=+\-@]>/ They of course can also be combined with the previous discussed