Re: Count regular expressions in a file
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 69401
interpreted = N
texte = Ki Song wrote:>>> One issue I'm having is when I try to search for
, it just looks>>> for the word Product, instead of . How do I search for all words>>> that equal exactly >>>> eqFIELDNAMEdatarq=[url][/url]&>>>> Donovan> > I'm not looking for the string '' in a WebDNA DB.> I'm just looking for it in a plain text, XML file.> Will this work?ahh, I think you were right with GREP then.. however, if that isnot working, you may be able to do something like what I statedabove, only like this:[text]count=0[/text][listwords words=[url][include file=yourxmlfile&raw=T][/url]] [showif [word]=[url][/url]] [text]count=[math][count]+1[/math][/text] [/showif][/listwords]The better fix would be to resolve the CLI problem (probablypermissions) and use GREPDonovan-- =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 Products, off-hand Classes/studio rental-> PH:>(608) 770-3822 TALK:>http://artglass-forum.com WEB:> http://www.euca.us & http://www.egg.bz =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:>>> One issue I'm having is when I try to search for , it just looks>>> for the word Product, instead of . How do I search for all words>>> that equal exactly >>>> eqFIELDNAMEdatarq=[url][/url]&>>>> Donovan> > I'm not looking for the string '' in a WebDNA DB.> I'm just looking for it in a plain text, XML file.> Will this work?ahh, I think you were right with GREP then.. however, if that isnot working, you may be able to do something like what I statedabove, only like this:[text]count=0[/text][listwords words=[url][include file=yourxmlfile&raw=T][/url]] [showif [word]=[url][/url]] [text]count=[math][count]+1[/math][/text] [/showif][/listwords]The better fix would be to resolve the CLI problem (probablypermissions) and use GREPDonovan-- =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 Products, off-hand Classes/studio rental-> PH:>(608) 770-3822 TALK:>http://artglass-forum.com WEB:> http://www.euca.us & http://www.egg.bz =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:
[WebDNA] Logout via authenticate (2011)
Linux [listfiles] (2007)
NT considerations (1997)
TCPConnect, Form Post, Template Variable (2003)
Lookup Notfound (1998)
WebTV, IPAddress, Cookies, IDEAS?? (1998)
adding shipping cost (1998)
[WebDNA] Stuck with installing Webdna 8.5 (2017)
Search in 2 or more catalogs (1997)
SERIAL NUMBER PROBLEM *AGAIN*!!! (1998)
Webmerchant quitting (1998)
Trouble with Netscape (1998)
Symantec VIsual Page 1.0.3 (1997)
RAW=T..Strange behaviour (2000)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
Shopping Cart Problem (1998)
off topic - dna snipets (1997)
WebCat2 beta 11 - new prefs ... (1997)
[WebDNA] Linux Fedora (2008)
Mauthcapture vs mauthonly (2002)