On Thu, 18 Aug 2016 10:27:04 -0700, sml...@gmail.com wrote:
> S05 <http://design.perl6.org/S05.html#line_2234> says:
> 
> Backslash escapes for literal characters in ordinary strings are
> allowed in regexes (\a, \x, etc.). However, the exception to this
> rule is \b, which is disallowed in order to avoid conflict with
> its former use as a word boundary assertion. To match a literal
> backspace, use \c8, \x8, or a double-quoted \b.
> 
> I found out the hard way today why that second sentence was specced,
> when I puzzled over a regex of mine for several minutes before I
> realized that the reason it didn't match, was that I had written my
> word boundaries as `\b` (Perl/GNU/.NET regex syntax) instead of `<|w>`
> (Perl 6 regex syntax).

Thanks for the report. This is now fixed \o/

Fix commits:
https://github.com/perl6/nqp/commit/c5f38888ec
https://github.com/perl6/nqp/commit/66308ea63d
https://github.com/rakudo/rakudo/commit/08589d32fa

Tests: https://github.com/perl6/roast/commit/846af2a582

Reply via email to