jakarta-regexp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel F. Savarese" <...@savarese.org>
Subject Re: Regex to escape .
Date Mon, 12 Oct 2009 16:42:44 GMT

In message <25854083.post@talk.nabble.com>, Harsha1 writes:
>I want to know how to escape dot(.) from being acting as universal
>character.
...
>So i want to right regex which will take (dot) as dot only not as any other
>character.

I'm not a jakarta-regexp user, but the usual way is to escape a
meta-character with a backslash.  As a Java string that would look
like: "\\."

daniel


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


Mime
View raw message