News for hackers. Stuff that matters.
Re:RegExpBuilder – Create regular expressions using chained ... by raiph on Thursday February 12, 2015 @11:44AM (#9039680)
Perl 6 unifies "regexes" and recursive descent parsing:

  '$10.00' ~~ rx{ \$ \d+ \. \d\d };

  my $pat = rx{ \p+ \q**2..Inf }; 'pqqpqq' ~~ rx{ <$pat>**2 } 
Note that these "regexes" are syntax, not strings, checked and converted in to a hybrid DFA/NFA at compile-time.

There are no comments on this comment yet.