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
# or
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
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.
concerns aside, there's a lot of things that I like in the Brave New
World of regexp, particularly named rules and grammar support.
but I'm afraid it will be a hard, hard time getting used to it
about Apocalypse 5 0 Comments More | Login | Reply /