in reply to Re: regexp question
in thread regexp question

isnt that confusing as to what special variables have (no special/special) meaning inside character class? isnt this that makes perl look ugly some times?

Replies are listed 'Best First'.
Re^3: regexp question
by MVS (Monk) on Oct 28, 2011 at 07:50 UTC

    Maybe a little at first, but you'll quickly get used to that after looking at enough regular expressions. Besides, as johnny_carlos mentioned above, some of the special characters wouldn't make sense when you think of them as part of a character class.