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:
syntax question, not in online refernce (1997)
More on the email templates (1997)
WebCatalog2 Feature Feedback (1996)
WC2b12: Yes, Formulas.db is for real (1997)
Re:Emailer and encryption (1997)
Press Release hit the NewsWire!!! (1997)
This list needs a digest: rant, rave... (1997)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
PCS Customer submissions ? (1997)
Forms Search Questions (1997)
Launch date and time? (1999)
Country & Ship-to address & other fields ? (1997)
b12 cannot limit records returned and more. (1997)
Help name our technology! (1997)
Location of Webcat site in folder hierarchy (1997)
I have troubles to send message out (1998)
Displaying photo attached to first record (1997)
Wrapping text (1998)
QuitFeedback & DBNotOpened errors (1997)
RE: Problems with shopping cart (1997)