Re: Count regular expressions in a file
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 69413
interpreted = N
texte = Ki Song wrote:> I removed the innermost grep and it looks like the result of the countwords> is working now, except it's the number expected + 1.> I'll just add a math to subtract 1.> > [countwords delimiters=|][grep search=
&replace=|prod][include> file=testxml.txt&raw=T][/grep][/countwords]That has the potential to fail...Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 770-3822 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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:
Ki Song wrote:> I removed the innermost grep and it looks like the result of the countwords> is working now, except it's the number expected + 1.> I'll just add a math to subtract 1.> > [countwords delimiters=|][grep search=&replace=|prod][include> file=testxml.txt&raw=T][/grep][/countwords]That has the potential to fail...Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 770-3822 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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/
Donovan Brooke
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:
Weird cart problem (webcat 2.x) (2000)
[ModDate] & [ModTime] ? (1997)
Dynamic drop downs (2005)
Help! WebCat2 bug (1997)
webcat2b12 CGI -- Date comparisons (1997)
Form and Context Searching -Hideif/Showif (2000)
form crasehes server (1997)
Certificates? (2005)
Digest for 4/18/97 (1997)
[GROUPS] followup (1997)
Help name our technology! I found it (1997)
Multiple Merchant Accounts? (1997)
The USArea® Network web site ... (1997)
[WebDNA] HTTP Streaming - POSSIBLE! (2010)
WebTen and WebCat (1997)
WebCatalog can't find database (1997)
allow or deny based on referer.... (1997)
Erotic Sites (1997)
Custom WebCat Prefs ... (1997)
all records returned. (1997)