Re: Grep and removing text

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45187
interpreted = N
texte = > [grep search=--[a-zA-Z0-9_]+--&replace=]some text[/grep]The more I look at this code, the less I like it. Is the + sign really supposed to be *outside* the square brackets? If so, what would have happened if the original text string was something like ++links_regio_w++ instead of --links_regio_w-- ? Frank Nordberg http://www.musicaviva.com ------------------------------------------------------------- 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: Grep and removing text (Nitai @ ComputerOil 2002)
  2. Re: Grep and removing text (Brian Fries 2002)
  3. Re: Grep and removing text (devaulw@onebox.com 2002)
  4. Re: Grep and removing text (Nitai @ ComputerOil 2002)
  5. Re: Grep and removing text (Christer Olsson 2002)
  6. Re: Grep and removing text (Nitai @ ComputerOil 2002)
  7. Re: Grep and removing text (Frank Nordberg 2002)
  8. Re: Grep and removing text (Nitai @ ComputerOil 2002)
  9. Re: Grep and removing text (Christer Olsson 2002)
  10. Re: Grep and removing text (Frank Nordberg 2002)
  11. Re: Grep and removing text (Frank Nordberg 2002)
  12. Re: Grep and removing text (Nitai @ ComputerOil 2002)
  13. Re: Grep and removing text (Christer Olsson 2002)
  14. Re: Grep and removing text (Kenneth Grome 2002)
  15. Grep and removing text (Nitai @ ComputerOil 2002)
> [grep search=--[a-zA-Z0-9_]+--&replace=]some text[/grep]The more I look at this code, the less I like it. Is the + sign really supposed to be *outside* the square brackets? If so, what would have happened if the original text string was something like ++links_regio_w++ instead of --links_regio_w-- ? Frank Nordberg http://www.musicaviva.com ------------------------------------------------------------- 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/ Frank Nordberg

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:

WebCatalog NT beta 18 problem (1997) Can this be done? (1997) Now when I send TeaRoom Order fields it does not post in Invoice. (1997) Wanted: Broader string manipulation functions (1997) [WebDNA] Connect to MS SQL (2013) Searching for (field1 OR field2) AND field3 (2000) how to know the [LineIndex] number webcat generated during a (2000) SQL connection (2000) Mac: LModelDirector bug fix (1997) Feature Request (1999) URGENT - CPU usage OSXS (2001) Another form question (2000) Shared conversion under WebTen (1998) Secure Server (1997) [ConvertChars] problem (1997) [OT] My own Hot Mail like e-mail services (2003) 2nd WebCatalog2 Feature Request (1996) Server Freeze (1998) [WebDNA] Code Library (2013) WebCat Error Log problem (2.0.1, acgi, Mac) (1997)