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 -0600 To: "WebDNA Talk" Subject: Re: Grep is Broke The one below also does not work. It doesn't work in BBEdit either where my original 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:

    
  1. Re: Grep is Broke ( Clint Davis 2004)
  2. Re: Grep is Broke ( "eLists" 2004)
  3. Re: Grep is Broke ( devaulw@onebox.com 2004)
  4. Re: Grep is Broke ( Clint Davis 2004)
  5. Re: Grep is Broke ( devaulw@onebox.com 2004)
  6. Re: Grep is Broke ( Clint Davis 2004)
  7. Re: Grep is Broke ( devaulw@onebox.com 2004)
  8. Grep is Broke ( Clint Davis 2004)
[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 -0600 To: "WebDNA Talk" Subject: Re: Grep is Broke The one below also does not work. It doesn't work in BBEdit either where my original 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:

New WebDNA Solutions ... (1997) [spawn] and [formvariables] (1999) sorting dates (1999) downloadable txt file (2001) wierd [cart] action! (1997) WebCat2 - [SendNews] (1997) Occasional crashes with $remove (1997) [WebDNA] Grep help - catch all URLs (2010) FW: weird problem (2004) DATES (2004) Fun with dates (1997) Generating unique SKU from [cart] - Still Stumped... (1997) [showif] results returned... (2003) WebCat2.0 acgi vs plugin (1997) this year (2000) MasterCounter Weirdness -Resolved! (1997) how do I have html files routed through webcat on OSX? (2001) Not really WebCat (1997) Another question about credit cards (1997) WCf2 and nested tags (1997)