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

Custom buttons using site builder (2005) Credit Card Checking?? (1998) Show shoppingcart after remove last item (1997) RAM variables (1997) Variable Prices (1998) Semi OT: IE losing info from forms when back button is used (2005) [WebDNA] multi [sendmail] inside [search] (2012) WebDNA 5.0 Questions (2003) E-mailer error codes (1997) WebCatalog [FoundItems] Problem - LONG - (1997) tcp connect includes (1999) inconsistent webcat calculation? (1997) all records returned. (1997) .hdr files (2004) unable to launch acgi in WebCat (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) FWD: Autoproxy Bug with WebCatalog and FireSite (1997) Chat Area (2000) [WebDNA] SOAP support (2014) Next (1997)