in reply to little regex question

Hi anaconda_wly

Why not 'at'?

The Perl Tutorial answers your questions as Both [...] and  [^...] must match a character

The special character ^ in the first position of a character class denotes a negated character class, which matches any character but those in the brackets. Both ... and ^... must match a character, or the match fails.


All is well

Replies are listed 'Best First'.
Re^2: little regex question
by anaconda_wly (Scribe) on Aug 01, 2013 at 10:13 UTC
    Thank loop and vinoth both. Yes I noticed ... must match a character in the tutorial but didn't understand ^... must match a character. Now I see. Thanks!

      What tutorial (link)?