3 ms·
Not sure about that, Ruby took the good parts of Perl regex parsing, such as the conditional format: var =~ /regex(match)/ With $1 and so on for each match.
by carlivar 11y ago
Not sure about that, Ruby took the good parts of Perl regex parsing, such as the conditional format: var =~ /regex(match)/
With $1 and so on for each match.
- adrusi 11y agoRegular expressions are improved in perl 6, using a syntax that allows better readability through whitespace and comments (previously the x modifier) and new features that make the regular expressions more like PEG grammars.