in reply to Re^6: Regex Parsing Style
in thread Regex Parsing Style

The set of graphic characters that must be escaped is exactly { '"', '\', '^' }.

It's funny that you emphasised "must" because that's exactly the word that makes that sentence irrelevant. At issue is what set can be escaped.

Either way, a fix is needed. The set must be expanded, or an error message needs to be added.

Replies are listed 'Best First'.
Re^8: Regex Parsing Style
by Jim (Curate) on Nov 26, 2010 at 17:53 UTC

    In the input, the set of literal character that are always escaped is { '"', '\', '^' }; all other literal characters in the input are never escaped.

    How's that?

    I modified the error message of the event that can never happen.