|
Perl 6
Perl 6 Regex Tablet: Revision 11
Overview - Chapter: 0:History, 1:Design, 2:Basics, 3:Var, 4:Op, 5:IO, 6:{}, 7:Sub, 8:OOP, 9:Rx, 10:Meta Larry Wall: We put the "Regular" back into "Expression". Like quoting, are Regular Expression now a sub language, a language inside the language, instead of being just funny strings. They have a an own syntax that is made more consistant with the main language. QuotingQ :regex Matchingm// SubstitutionTransliterationmy $escaped = $html.trans([ '&', '<', '>' ] =>); Grammars
Overview - Chapter: 0:History, 1:Design, 2:Basics, 3:Var, 4:Op, 5:IO, 6:{}, 7:Sub, 8:OOP, 9:Rx, 10:Meta |