[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:

2nd WebCatalog2 Feature Request (1996) database freeze (1997) Logging purchases (1997) WebMerchant 1.6 and https (1997) switching users (1998) I read the manual (2000) WebSTAR, OSX, WebDNA permissions problem ... (2005) Odd Cart Behavior (1997) Trouble with carts (2000) WC 2.0 frames feature (1997) Caching [include] files ... (1997) [WriteFile] problems (1997) RAM variables (1997) & in Lookups (1997) emailer settings and control questions (1997) Plugin or CGI or both (1997) Couple of techno questions (1999) Searching Numbers (2004) Cache problem (2002) Buying sans cart (1997)