how to escape forward slash?
"Giovanni Azua" <[email protected]> Wed, 10 Nov 2004 16:50:00 +0100
| Newsgroups | gmane.comp.jakarta.regexp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello all, Does anyone know how to escape forward slash using jakarta regexp, the funny thing is that sed understand well the escaping of forward slash: \/ but regexp does not. e.g. when providing the pattern: / C\/O / / I get the following error: org.apache.regexp.RESyntaxException: Syntax error: Escape terminates = string ... PATTERN ERROR in line: / C\/O / / Thanks in advance, Best Regards, Giovanni