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 startswith a caret "^" the expression matches so long as none of the otherbracketed characters match.Did you test it and it does not work?Govinda, thanks for feedback. I've used regular expressions forpattern matching to pull information from web pages before XML and RSSgot so popular.WebDNA uses regex in a non-standard way and has some missing/brokenfeatures. Sometimes its easier to drop into the shell and parsesomething but that loses Windows compatibility. I've never beentroubled by losing that as you can extend into the power of *nix.If anyone wants feedback from the list, it helps to have sample inputsand desired outputs for testing.Regards,BillOn 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:
Bob, I think that should work. When a bracketed expression startswith a caret "^" the expression matches so long as none of the otherbracketed characters match.Did you test it and it does not work?Govinda, thanks for feedback. I've used regular expressions forpattern matching to pull information from web pages before XML and RSSgot so popular.WebDNA uses regex in a non-standard way and has some missing/brokenfeatures. Sometimes its easier to drop into the shell and parsesomething but that loses Windows compatibility. I've never beentroubled by losing that as you can extend into the power of *nix.If anyone wants feedback from the list, it helps to have sample inputsand desired outputs for testing.Regards,BillOn 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)