Re: [WebDNA] can webdna's [grep] find and replace ONLY the literal

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 109016
interpreted = N
texte = Govinda wrote: > can anyone here write/show me a [grep] that finds a literal "+" character .. and replace it with some flag string, like "~hackinPlusChar~". > v. 6.2 just keeps on finding every space char as well as "+", (or worse) no matter how i (so far) fiddle with the [grep] search param. > (test with a string that contains many words separated by spaces.) > > On my wish list for webdna is that [grep] behaves as do other commonly-in-use grep engines. > > Thanks [grep search=[[url]+[/url]]&replace=something] The URL's seem to work in many literal cases for some reason... spaces, returns, etc.. Donovan -- Donovan Brooke Euca Design Center www.euca.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] can webdna's [grep] find and replace ONLY the literal (Donovan Brooke 2012)
  2. Re: [WebDNA] can webdna's [grep] find and replace ONLY the literal (Donovan Brooke 2012)
  3. Re: [WebDNA] can webdna's [grep] find and replace ONLY the literal "+" char? (Stuart Tremain 2012)
  4. Re: [WebDNA] can webdna's [grep] find and replace ONLY the literal "+" char? (Govinda 2012)
  5. Re: [WebDNA] can webdna's [grep] find and replace ONLY the literal "+" char? (Stuart Tremain 2012)
  6. Re: [WebDNA] can webdna's [grep] find and replace ONLY the literal (Donovan Brooke 2012)
  7. Re: [WebDNA] can webdna's [grep] find and replace ONLY the literal (Donovan Brooke 2012)
  8. Re: [WebDNA] can webdna's [grep] find and replace ONLY the literal "+" char? (Govinda 2012)
  9. Re: [WebDNA] can webdna's [grep] find and replace ONLY the literal (Donovan Brooke 2012)
  10. Re: [WebDNA] can webdna's [grep] find and replace ONLY the literal "+" char? (Stuart Tremain 2012)
  11. Re: [WebDNA] can webdna's [grep] find and replace ONLY the literal "+" char? (Govinda 2012)
  12. Re: [WebDNA] can webdna's [grep] find and replace ONLY the literal "+" char? (Stuart Tremain 2012)
  13. [WebDNA] can webdna's [grep] find and replace ONLY the literal "+" char? (Govinda 2012)
Govinda wrote: > can anyone here write/show me a [grep] that finds a literal "+" character .. and replace it with some flag string, like "~hackinPlusChar~". > v. 6.2 just keeps on finding every space char as well as "+", (or worse) no matter how i (so far) fiddle with the [grep] search param. > (test with a string that contains many words separated by spaces.) > > On my wish list for webdna is that [grep] behaves as do other commonly-in-use grep engines. > > Thanks [grep search=[[url]+[/url]]&replace=something] The URL's seem to work in many literal cases for some reason... spaces, returns, etc.. Donovan -- Donovan Brooke Euca Design Center www.euca.us Donovan Brooke

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:

Convert Char (2001) Adding Shipping Costs based on percent of subtotal (1997) full text search ? (2002) Announcement-WebCatalog 2.0 Released (1997) Move WebDNA DB to MySQL (2005) Don't know if this is a sily question... (2003) [append] problems v2 (2003) Not really WebCat- (1997) Grep and removing text (2002) Looking for a Manual (1997) MySQL Wildcard Trouble (2006) For Sale: WebTen 2.x and WebCat 2.x (2000) Associative lookup style? + bit more (1997) Using [showif] within [lineitems] (2000) WC Database Format (1997) [Fwd: internet tax] (2001) WebCatalog NT beta 18 problem (1997) Remote stockroom ? (1998) XML Syntax, Cookies and Variables.... (2004) Append again (1999)