I'm still in the process of swallowing Larry Wall's Apocalypse 5. I lost myself here and there, but I think I got a (blurry) picture. Damian's Synopsis 5 helped a bit.
so I started thinking about it, and I have some concerns to share. it's just my .02, so feel free to comment about this (and/or beat me on the head) (eventually).
s{<b>(.*?)</b>}{$1}i; # perl 5
s:i{\<b\>(.*?)\</b\>}{$1}; # perl 6
/a [a-z] [aeiou]/; # perl 5
/a<sp><2><[a-z]><sp><4><[aeiou]>/; # perl 6
# or
/a<' '><[a-z]><' '><[aeiou]>/;
/a\ \ <[a-z]>\ \ \ \ <[aeiou]>/;
which one do you prefer?
I mean, probably having the x modifier the default is a Good Thing after all, but can't we have an option to disable it? aside from the :p5 modifier, which just cuts out a whole world of functionality.
/a<sp><4><[a-z]><sp><8><[aeiou]>/;
they're used for: special characters, repetition count, character classes. they're also there for named rules, variables interpolation, and a lot of other things. Larry mentioned 2 problems with the actual regex syntax:
which is just what I see here.
I understand that there has to be a balance, but these angle brackets are going to hurt me.