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:
More Applescript (1997)
Problem (1997)
Somewhat OT: IE issues (2002)
WebDNA 6.0a for Apache 2.2.4 (2007)
newbie Q: [cart] documentation (1999)
summ=T (2003)
Has anyone integrated ZipBurst with WebCat? (2000)
Problem displaying search result (1997)
WC2/Mac -- Forms not submitting correctly with Mac browsers (1997)
New WebDNA Forum Solution (in development) (2003)
There's a bug in the math context ... (1997)
math on date? (1997)
setlineitem quantity to zero? (2000)
redirect from the errorsMessages.db entry (1997)
Problem with 2.1b3 (1997)
I think WebDNA-Talk died ... :( (1997)
Uh...can someone help me out with the b10? (1997)
WebCat2b15MacPlugin - [protect] (1997)
thankyou.tmpl (1997)
serial number generation (1997)