Re: How do I specify a & character in Grep?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34136
interpreted = N
texte = >And then some more hours trying to get around the ampersand thing. >I know Ampersand is not allowed in browser stuff, but, webcat source >never gets to the browser so I thought, since it is called grep I >could use the standard \ to delimit a reserved character. Who >woulda thunk that I should use [url] in a grep expression.Yes, but [url] is how you get 'special' characters past the parser in all situations. The text that finally makes it down into the grep expression doesn't contain [url], it contains the interpreted value after the [url] has been executed.>If I do use [url] to expand bad things, how do I search for [url] >using grep, if that is reserved instead? Do i have to use >[raw][url][raw]? Will that even work????Yes, that's exactly it.>Seems to me that \& is more to the point for a regex search expression.Yes, except that & is *always* a parameter delimiter in WebDNA. We can't tell the difference between & in your grep expression, and & as a delimiter between parameters to the context. This similar discussion could be made around how do I get & into a database field or how do I search for & in a record. We had to choose something, and what we chose is consistent with a model that webmasters are already familiar with (we know it's kind of ugly and arcane, but it's *so* much better than trying to learn *two* different models for delimiters. Consistency is key here).Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: How do I specify a & character in Grep? (Kim Ingram 2000)
  2. Re: How do I specify a & character in Grep? (John Butler 2000)
  3. Re: How do I specify a & character in Grep? (Kim Ingram 2000)
  4. Re: How do I specify a & character in Grep? (WebDNA Support 2000)
  5. Re: How do I specify a & character in Grep? (Webcat 2000)
  6. Re: How do I specify a & character in Grep? (Webcat 2000)
  7. Re: How do I specify a & character in Grep? (WebDNA Support 2000)
  8. Re: How do I specify a & character in Grep? (Webcat 2000)
  9. Re: How do I specify a & character in Grep? (Kenneth Grome 2000)
  10. Re: How do I specify a & character in Grep? (Webcat 2000)
  11. Re: How do I specify a & character in Grep? (John Butler 2000)
  12. How do I specify a & character in Grep? (Webcat 2000)
>And then some more hours trying to get around the ampersand thing. >I know Ampersand is not allowed in browser stuff, but, webcat source >never gets to the browser so I thought, since it is called grep I >could use the standard \ to delimit a reserved character. Who >woulda thunk that I should use [url] in a grep expression.Yes, but [url] is how you get 'special' characters past the parser in all situations. The text that finally makes it down into the grep expression doesn't contain [url], it contains the interpreted value after the [url] has been executed.>If I do use [url] to expand bad things, how do I search for [url] >using grep, if that is reserved instead? Do i have to use >[raw][url][raw]? Will that even work????Yes, that's exactly it.>Seems to me that \& is more to the point for a regex search expression.Yes, except that & is *always* a parameter delimiter in WebDNA. We can't tell the difference between & in your grep expression, and & as a delimiter between parameters to the context. This similar discussion could be made around how do I get & into a database field or how do I search for & in a record. We had to choose something, and what we chose is consistent with a model that webmasters are already familiar with (we know it's kind of ugly and arcane, but it's *so* much better than trying to learn *two* different models for delimiters. Consistency is key here).Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- 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://search.smithmicro.com/ WebDNA Support

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:

Logging purchases (1997) RE: shrink-wrapped version out yet? (1997) WebMerchant crashing and other WebMerchant problem (2000) [WebDNA] Triggers failing in sandbox (2008) why .HTML pages no processing? (2000) Keep away (1997) Public beta 2 for WebCatalog 4.0 is now available. (2000) Looking for WebDNA 3.08 MAC (2003) Credit card processing - UK (1997) [WebDNA] Mass email using WebDNA (2008) Separate SSL Server (1997) Dates (1996) Checkboxes (1998) Re:PCS Customer submissions ? (1997) OT: P3P (was Shop from PDF) (2004) Mozilla/4. and Browser Info.txt (1997) Re:Help name our technology! (1997) Price Hacking (1998) Sendmail & Time Issue (2001) Help needed! (1998)