[GREP] Why is the dash invalid?

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45689
interpreted = N
texte = When performing the following grep search, the dash is returned as an invalid character:[grep search=([^a-zA-Z,.\-\ ])&replace=\1_][shiptoname][/grep]I attempted to not escape the dash as well, but then numbers (an possibly other items) became legal. What am I doing wrong here?Thanks,Dennis ------------------------------------------------------------- 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. [GREP] Why is the dash invalid? (Dennis J. Bonsall, Jr. 2002)
When performing the following grep search, the dash is returned as an invalid character:[grep search=([^a-zA-Z,.\-\ ])&replace=\1_][shiptoname][/grep]I attempted to not escape the dash as well, but then numbers (an possibly other items) became legal. What am I doing wrong here?Thanks,Dennis ------------------------------------------------------------- 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/ Dennis J. Bonsall, Jr.

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:

[WebDNA] Apple Server (2013) WebCat2 beta 11 - new prefs ... (1997) WebCat2.0 [format thousands .0f] no go (1997) WebMerchant and AVS (1998) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Need correct syntax for writing to header2 (1999) PCS Customer submissions ? (1997) WebCatalog for guestbook ? (1997) OT: Linux Frustrations (2001) Sub Totals (2000) fieldType=num (1997) [WebDNA] Mail not sending (2018) [WebDNA] Conditional search (2009) PCS Frames (1997) WebCat2b12--[searchstring] bug (1997) Where is f2? (1997) Mult-File Upload w/ Web Star (2000) setting line item numbers (1998) ShowNext (1997) Quantity (1998)