Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: regexp question

by raybies (Chaplain)
on Oct 28, 2011 at 13:20 UTC ( #934394=note: print w/replies, xml ) Need Help??

in reply to regexp question

fwiw, the square bracket character class has been a part of regex since prior to Perl existing. I remember way back in the daze when I was learning to grep commandline in a basic Unix course this being a feature of regex. Seems kinda silly to debate an accepted convention that's been around since prior to when you were born.

Honestly this is not the most confusing aspect of regex. Regex by its nature is an abreviated notation and therefore a challenge to make readable. Perl has (imo) the best featureset of any language when it comes to making regexes understandable, but it's still regex... which means one treads a cryptic realm of magic and wonder... :)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://934394]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2016-10-22 04:52 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (292 votes). Check out past polls.