is correct, as "foo" does not contain a ']' which would be required
> to match there (quoting the ':' means there is no character class,
> hence we have instead (the negation of) a char class containing '[' ':'
> 'l' 'o' 'w' 'e' ';r' (and ':' again), preceded by anything, and
> followed by ']' and anything.   foo does not match. f]oo would.
>

where exactly is this documented in the standard?

Reply via email to