Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[GGE::Perl6Regex] worked around more uncoolness

Regex::Match doesn't do .substr, and all over the codebase that bites us.
Found and fixed yet another place.
  • Loading branch information...
commit e263efb4082477a4622e5f6f01aaea20d2d66499 1 parent 71c611a
@masak authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/GGE/Perl6Regex.pm
View
3  lib/GGE/Perl6Regex.pm
@@ -271,7 +271,8 @@ class GGE::Perl6Regex {
our sub parse_subrule($mob) {
my $m = GGE::Exp::Subrule.new($mob);
- my $target = $mob.target;
+ # RAKUDO: Regex::Match doesn't support .substr
+ my $target = ~$mob.target;
my $key = $mob.hash-access('KEY');
if $key eq '<!' {
$m.hash-access('isnegated') = True;
Please sign in to comment.
Something went wrong with that request. Please try again.