Re: [WebDNA] Quick Grep question
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 102251
interpreted = N
texte = OK Thanks for the inputCheers========================================Steve Craig - Asylum Interactive LtdTel +44 1330 860550 Fax +44 1330 860880========================================http://www.asylumweb.comEmail: steve@asylumweb.comSkype: s.craig - iChat: steve.craig========================================On 26 Mar 2009, at 11:40, Toby Cox wrote:> + is reserved in grep. It means 'more than one' ie [grep search=[a-z] > +&replace=][presssite][/grep] means "search for any sequence of more > than one lower case letter and replace with nothing">> Try [grep search=\+&replace= ][PressSite][/grep]>> Although I'm not sure how webdna handles escaping characters, so you > may have to be creative...>>>>> Hi>>>> Don't use grep much so not sure why this is not working. I am >> trying to swap all instances of + for a space using the following...>>>> [grep search=+&replace= ][PressSite][/grep]>>>> This works for any other character I've tried just not the +. I >> assume I have to escape it or something just not sure how, any help >> much appreciated.>>>> Cheers>> ========================================>> Steve Craig - Asylum Interactive Ltd>> Tel +44 1330 860550 Fax +44 1330 860880>> ========================================>> http://www.asylumweb.com>> Email: steve@asylumweb.com>> Skype: s.craig - iChat: steve.craig>> ========================================>>>>>>>>>>>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list
.>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> old archives: http://dev.webdna.us/TalkListArchive/>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/
Associated Messages, from the most recent to the oldest:
OK Thanks for the inputCheers========================================Steve Craig - Asylum Interactive LtdTel +44 1330 860550 Fax +44 1330 860880========================================http://www.asylumweb.comEmail: steve@asylumweb.comSkype: s.craig - iChat: steve.craig========================================On 26 Mar 2009, at 11:40, Toby Cox wrote:> + is reserved in grep. It means 'more than one' ie [grep search=[a-z] > +&replace=][presssite][/grep] means "search for any sequence of more > than one lower case letter and replace with nothing">> Try [grep search=\+&replace= ][PressSite][/grep]>> Although I'm not sure how webdna handles escaping characters, so you > may have to be creative...>>>>> Hi>>>> Don't use grep much so not sure why this is not working. I am >> trying to swap all instances of + for a space using the following...>>>> [grep search=+&replace= ][PressSite][/grep]>>>> This works for any other character I've tried just not the +. I >> assume I have to escape it or something just not sure how, any help >> much appreciated.>>>> Cheers>> ========================================>> Steve Craig - Asylum Interactive Ltd>> Tel +44 1330 860550 Fax +44 1330 860880>> ========================================>> http://www.asylumweb.com>> Email: steve@asylumweb.com>> Skype: s.craig - iChat: steve.craig>> ========================================>>>>>>>>>>>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> old archives: http://dev.webdna.us/TalkListArchive/>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/
Steve Craig
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebCat2final1 crashes (1997)
Showing unopened cart (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
NT or Mac (1998)
WebCatalog can't find database (1997)
[ShowIf] and empty fields (1997)
emailer setup (1997)
[OT] md5 or sha-1 on OSX (2007)
Running 2 two WebCatalog.acgi's (1996)
Templates for Customer Database? (1997)
Closing Databases (1998)
tcpconnect/tcpsend frustrations (2002)
problem with applets embedded in tpl files (1997)
[OT]Co-Location of a Server (2002)
searching results (1999)
purchase.log file (1997)
Date Calulation (1997)
[format 40s]text[/format] doesn't work (1997)
Which beta for w* 4.1 and a problem w/b12 (1999)
AOL displays strange header info (2000)