Re: [WebDNA] grep again

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 104537
interpreted = N
texte = Bob, I think that should work. When a bracketed expression starts with a caret "^" the expression matches so long as none of the other bracketed characters match. Did you test it and it does not work? Govinda, thanks for feedback. I've used regular expressions for pattern matching to pull information from web pages before XML and RSS got so popular. WebDNA uses regex in a non-standard way and has some missing/broken features. Sometimes its easier to drop into the shell and parse something but that loses Windows compatibility. I've never been troubled by losing that as you can extend into the power of *nix. If anyone wants feedback from the list, it helps to have sample inputs and desired outputs for testing. Regards, Bill On Mon, Jan 18, 2010 at 10:25 AM, Govinda wrote: > On Jan 13, 2010, at 7:42 AM, Bob Minor wrote: > >> How then does one do, "does not contain" as in find everything but it >> cannot contain a '>' for instance grep would be: >> >> for search: >> .[^>]* >> > Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] grep again (William DeVaul 2010)
  2. Re: [WebDNA] grep again (Govinda 2010)
  3. Re: [WebDNA] grep again (Brian Fries 2010)
  4. Re: [WebDNA] grep again (Bob Minor 2010)
  5. Re: [WebDNA] grep again (Kenneth Grome 2010)
  6. Re: [WebDNA] grep again (Tom Duke 2010)
  7. Re: [WebDNA] grep again (Bob Minor 2010)
  8. Re: [WebDNA] grep again (Brian Fries 2010)
  9. Re: [WebDNA] grep again (Govinda 2010)
  10. Re: [WebDNA] grep again (Kenneth Grome 2010)
  11. Re: [WebDNA] grep again (Donovan Brooke 2010)
  12. Re: [WebDNA] grep again (Brian Fries 2010)
  13. Re: [WebDNA] grep again (Bob Minor 2010)
  14. Re: [WebDNA] grep again: (how to handle replacing linefeed char?) (Govinda 2010)
  15. Re: [WebDNA] grep again (Kenneth Grome 2010)
  16. Re: [WebDNA] grep again (christophe.billiottet@webdna.us 2010)
  17. Re: [WebDNA] grep again (Kenneth Grome 2010)
  18. Re: [WebDNA] grep again (Tom Duke 2010)
  19. Re: [WebDNA] grep again (Bob Minor 2010)
  20. Re: [WebDNA] grep again (Tom Duke 2010)
  21. Re: [WebDNA] grep again (Kenneth Grome 2010)
  22. Re: [WebDNA] grep again (Bob Minor 2010)
  23. Re: [WebDNA] grep again (Kenneth Grome 2010)
  24. Re: [WebDNA] grep again (Bob Minor 2010)
  25. Re: [WebDNA] grep again (Kenneth Grome 2010)
  26. Re: [WebDNA] grep again (Bob Minor 2010)
  27. [WebDNA] grep again (Kenneth Grome 2010)
Bob, I think that should work. When a bracketed expression starts with a caret "^" the expression matches so long as none of the other bracketed characters match. Did you test it and it does not work? Govinda, thanks for feedback. I've used regular expressions for pattern matching to pull information from web pages before XML and RSS got so popular. WebDNA uses regex in a non-standard way and has some missing/broken features. Sometimes its easier to drop into the shell and parse something but that loses Windows compatibility. I've never been troubled by losing that as you can extend into the power of *nix. If anyone wants feedback from the list, it helps to have sample inputs and desired outputs for testing. Regards, Bill On Mon, Jan 18, 2010 at 10:25 AM, Govinda wrote: > On Jan 13, 2010, at 7:42 AM, Bob Minor wrote: > >> How then does one do, "does not contain" as in find everything but it >> cannot contain a '>' for instance grep would be: >> >> for search: >> .[^>]* >> > William DeVaul

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:

Text limits in NT version? (1997) messaging system in Webdna - suggestions (2005) Digest Version (2000) no global [username] or [password] displayed ... (1997) ListFiles (1998) Serving images from databases (1998) Re:Emailer and encryption (1997) select multiple (1997) Date sorting (1997) RAM variables (1997) New commands in Final candidate (1997) Last digit of Credit Card Stripped (1997) WebCat b13 CGI -shownext- (1997) 2.0Beta Command Ref (can't find this instruction) (1997) Multi-Row Tables from a search. (1997) It's working (1997) different show next (1997) suffix mapping, use of cache, etc. (1997) [ot] G5 Desktop as Server (2004) emailer (1997)