We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93744c1 commit af28c73Copy full SHA for af28c73
src/QRegex/P6Regex/Actions.nqp
@@ -306,7 +306,7 @@ class QRegex::P6Regex::Actions is HLL::Actions {
306
}
307
308
method backlit($/) {
309
- my $qast := QAST::Regex.new( '\\', :rxtype('enumcharlist'),
+ my $qast := QAST::Regex.new( ~$/, :rxtype('enumcharlist'),
310
:node($/) );
311
make $qast;
312
src/QRegex/P6Regex/Grammar.nqp
@@ -195,7 +195,7 @@ grammar QRegex::P6Regex::Grammar is HLL::Grammar {
195
196
token assertion:sym<[> { <?before '['|'+'|'-'> <cclass_elem>+ }
197
198
- token backlit { '\\' }
+ token backlit { '\\' | '-' }
199
200
token cclass_elem {
201
$<sign>=['+'|'-'|<?>]
0 commit comments