Re: Grep is Broke
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 60351
interpreted = N
texte = [grep search=(http://[a-zA-Z0-9\.-][a-zA-Z0-9\.-]*)&replace=
\1]Visit http://www.grayloon.com for great deals![/grep]This one works for me. I guess the one or more (+) operator does not work. I also know that the exact copies specifier {X} does not work.Can we get a better implementation of grep?Bill-----Original Message-----From: Clint Davis
Sent: Tue, 07 Dec 2004 15:01:43 -0600To: "WebDNA Talk" Subject: Re: Grep is BrokeThe one below also does not work. It doesn't work in BBEdit either where myoriginal did. I'm not sure what to do about the "=" in the HTML.On 12/7/04 2:50 PM, "devaulw@onebox.com" wrote:> Try this: > > [grep search=(http://[a-zA-Z0-9.-]+)&replace=[url] href="\1">\1[/url]]Visit http://www.grayloon.com for great deals![/grep]> > The = sign in the replace may be causing a problem.> > Bill> > -----Original Message-----> From: Clint Davis > Sent: Tue, 07 Dec 2004 14:24:24 -0600> To: "WebDNA Talk" > Subject: Grep is Broke> > The following statement converts nothing. What's wrong?> > [grep search=(http://)([a-zA-Z0-9\.\-]+)&replace= href="\1\2">\1\2]Visit http://www.grayloon.com for great deals![/grep]> > WebDNA 6.1 | MacOS X 10.3.6-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
[grep search=(http://[a-zA-Z0-9\.-][a-zA-Z0-9\.-]*)&replace=\1]Visit http://www.grayloon.com for great deals![/grep]This one works for me. I guess the one or more (+) operator does not work. I also know that the exact copies specifier {X} does not work.Can we get a better implementation of grep?Bill-----Original Message-----From: Clint Davis Sent: Tue, 07 Dec 2004 15:01:43 -0600To: "WebDNA Talk" Subject: Re: Grep is BrokeThe one below also does not work. It doesn't work in BBEdit either where myoriginal did. I'm not sure what to do about the "=" in the HTML.On 12/7/04 2:50 PM, "devaulw@onebox.com" wrote:> Try this: > > [grep search=(http://[a-zA-Z0-9.-]+)&replace=[url] href="\1">\1[/url]]Visit http://www.grayloon.com for great deals![/grep]> > The = sign in the replace may be causing a problem.> > Bill> > -----Original Message-----> From: Clint Davis > Sent: Tue, 07 Dec 2004 14:24:24 -0600> To: "WebDNA Talk" > Subject: Grep is Broke> > The following statement converts nothing. What's wrong?> > [grep search=(http://)([a-zA-Z0-9\.\-]+)&replace= href="\1\2">\1\2]Visit http://www.grayloon.com for great deals![/grep]> > WebDNA 6.1 | MacOS X 10.3.6-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
devaulw@onebox.com
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:
page redirect in webDNA (1997)
Problem displaying search result (1997)
User/pass with tcpconnect (2000)
EIMS Problems (1997)
Programmer Needed (1998)
[date] +1 (1999)
WebCatalog can't find database (1997)
[WebDNA] Search encrypted field (2015)
WebCat2 beta 11 - new prefs ... (1997)
Roundup function? (1997)
return missing item (was:WebCat Sales) (1997)
Using Plug-In while running 1.6.1 (1997)
Are you an WC expert? (1997)
orderfile cannot be created (2003)
apostrophe in search item (1997)
Nested vs conditional (1997)
thankyou.tmpl (1997)
WebDNA 5 & iTools 7 (2003)
authenticating a second user (1997)
Taget _top (2000)