« Return to Thread: Q: slashes in slash strings

Q: slashes in slash strings

by grkuntzmd :: Rate this Message:

Reply to Author | View in Thread

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

 « Return to Thread: Q: slashes in slash strings