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 = 109024
interpreted = N
texte = Stuart Tremain wrote: > Well spotted :) > > > > On 02/05/2012, at 2:52 PM, Govinda wrote: > >> >>> I found this from an old note: >>> >>> It seems in webdna's grep.. that the "+" char can go anywhere that >>> makes sense *except* at the end of the Character Class (which causes >>> the whole script to fail) (reason??). That's a good one... It appears to me that the problem is *not* that it appears at the end of a character class, the problem is the "-".. which is trying to create a range of characters to match against. Looks like another quirk of WebDNA's RegExp parser. Donovan -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** 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)
Stuart Tremain wrote: > Well spotted :) > > > > On 02/05/2012, at 2:52 PM, Govinda wrote: > >> >>> I found this from an old note: >>> >>> It seems in webdna's grep.. that the "+" char can go anywhere that >>> makes sense *except* at the end of the Character Class (which causes >>> the whole script to fail) (reason??). That's a good one... It appears to me that the problem is *not* that it appears at the end of a character class, the problem is the "-".. which is trying to create a range of characters to match against. Looks like another quirk of WebDNA's RegExp parser. Donovan -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** 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:

Is using [URL] recommended even on an email address? (1999) OT-Load balance (2004) Shopping Cart Page (1997) test for John (1999) Possible Bug in 2.0b15.acgi (1997) Sendmail truncation in Eudora Clients (1998) Configuration Q (1998) includes and cart numbers (1997) WebTen and WebCat (1997) WebCat2 beta 11 - new prefs ... (1997) authorizenet/webmerchant (2000) WebCat b15 Mac plug-in (1997) WC2f3 (1997) MasterCounter - Does this work?? (1999) [searchString] (1997) WebMerchant email template format? (1997) Showif, Hideif reverse logic ? (1997) Queertrons? (1997) RE: Problems with shopping cart (1997) Limiting user access to .tmpl files (1997)