[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[curn-users] how to escape forward slash in regExp?



Hi Brian,

I'm trying to use EditFeedURL and I need to use forward slashes in my
replacement string. I'm trying to do something like this:

's/&/\/IssueNavigator/'

(append "/IssueNavigator" to existing url)

but the parser keeps interpreting the first escaped forward slash as
the end of the replacement string and then gives an error about an
"unknown modifier 'I'. Am I wrong in thinking that a backslash should
be used to escape reserved characters?

Thanks,
Mark

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
---
*** Posted to the curn-users mailing list (curn-users@xxxxxxxxxxx).



 Back to curn-users archive.