in reply to Re: Order of terms in square braces
in thread Order of terms in square braces

first or last element in the class.

Replies are listed 'Best First'.
Re^3: Order of terms in square braces
by ikegami (Patriarch) on Feb 03, 2007 at 07:12 UTC

    or following a POSIX class
    or preceeding a POSIX class
    or following ^ if the ^ is the first character
    etc

    Basically, anywhere it doesn't make sense to treat it as a range seperator.

    Escaping - (like the OP needlessly did for ( and )) will force it to match literally.