You are viewing a plain text version of this content. The canonical link for it is here.
Posted to regexp-user@jakarta.apache.org by Chris Gerrard <ch...@gerrard.net> on 2003/04/01 23:28:03 UTC

Re: Escaping special characters

Just a quick guess, but how about the character class "[.]"?

At 04:31 PM 4/1/2003, you wrote:
>Is there an escape character? I've read through the api docs and the list
>archive and see that I need to use \\ to match '\' but what about the '.' or
>'-' or '['
>I've tried things like \\. or \\- or \\[ but these are incorrect. What is
>the correct way to escape these characters?
>
>I've done a google search looking for any other documents or articles on
>using Jakarta regexp, but no good hits. If anyone knows of any outside
>links/resources regarding Jakarta regexp I'd love to find them.
>
>
>--
>
>Patrick Clancy
>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: regexp-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: regexp-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: regexp-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: regexp-user-help@jakarta.apache.org