Java Mailing List Archive

http://www.gg3721.com/

Home » user.groovy »

[groovy-user] Q: slashes in slash strings

grkuntzmd

2008-08-21

Replies: Find Java Web Hosting

Author LoginPost Reply

If I want to include slashes ('/') in slash-quoted strings, do I need to escape them with backslashes? In other words, if I need to create a Regex that matches a *nix-like path, should I use /x\/y/ or /x/y/?

Thanks.

G. Ralph Kuntz, MD
Chief Software Architect
meridianEMR, Inc.


View this message in context: Q: slashes in slash strings
Sent from the groovy - user mailing list archive at Nabble.com.
©2008 gg3721.com - Jax Systems, LLC, U.S.A.