[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[curn-users] how to escape forward slash in regExp?
- To: curn-users@xxxxxxxxxxx
- Subject: [curn-users] how to escape forward slash in regExp?
- From: Mark Fletcher <dafletcha@xxxxxxxxx>
- Date: Mon, 9 Oct 2006 09:43:32 -0700 (PDT)
- Authentication-results: wildbean.clapper.org from=dafletcha@xxxxxxxxx; sender-id=neutral; spf=neutral
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=m18K8BxnqFOudPI05Ut1SOUXSRRF+mfJv/h9c4ISabOca/yYHUAtvrfbyaoUAr9hhXC0M3uXykf3qjQxcZDPxwy4li2Hwy7uL0Yxz6R0+MH3K2FkuVgE+RR/waDOmdbPCvKkKPCLngvN528aqwOOIaFHKnfQ4fThpAeLsco+h80= ;
- Sender: owner-curn-users@xxxxxxxxxxx
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.