B
Bob
I am trying to parse a fairly simple expression:
arg1|arg2|arg3
The problem is that in arg2, sometimes I see the pipe character. The
difference is that the pipe character is prefixed by a backslash. For
example:
arg1|a\|rg2|arg3
Still at this point it wouldn't be to hard to parse, but the problem is that
these arguments may also contain any other standard character escapes. For
example:
arg2\n|a\\\|rg2\\|arg3
Should match:
arg2{lf}
a\|rg2\
arg3
Is it possible to do this?
Thanks
arg1|arg2|arg3
The problem is that in arg2, sometimes I see the pipe character. The
difference is that the pipe character is prefixed by a backslash. For
example:
arg1|a\|rg2|arg3
Still at this point it wouldn't be to hard to parse, but the problem is that
these arguments may also contain any other standard character escapes. For
example:
arg2\n|a\\\|rg2\\|arg3
Should match:
arg2{lf}
a\|rg2\
arg3
Is it possible to do this?
Thanks