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

Running subtotal? (1998) Adding multiple items to Cart (1999) Frames and WebCat (1997) Trigger time setting (2002) AutoCommit Preference? (1998) Running 2 two WebCatalog.acgi's (1996) Multiple Pulldowns (1997) California Tax Rates (1998) FREE Web Server Monitor FREE (1997) Upgrade probems (2000) converting tabs (1997) Why don't my carts expire (1998) [WebDNA] Still having problems (2008) Search in 2 or more catalogs (1997) Search 1 Field Twice? (2004) Grouping fields help (2004) Stopping bad HTML propagation ? (1997) Bookmarked URL with cart (1998) preserving the zero's (1999) [OT] Google Info (2004)