Re: New [If] command question + New Feature Request
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34138
interpreted = N
texte = WebDNA Support wrote:> > >How about a new feature request: add a grep feature to all of the test> >operators? The current grep context is actually a search and replace;> >it would be nice to have a logical that we could feed a regexp, instead> >of exact string matches (~^=). How about # (octothorpe) for the> >operator?> > You can mix-and-match WebDNA anywhere, so could you use [grep] right> inside your [If] context to accomplish the same thing? As long as> your [grep] returns something useful that the [If] can compare> against, you can probably get this behavior today.> Well, yes, I suppose I could do that. What I was suggesting was thatsinceyou now had a regular expression engine, you could create a regexpoperatorthat would return a logical, just like [field]=fish returns a logical.[if [field1]#fi[a-z][a-z]]...[/if]Just an idea...John Peacock-------------------------------------------------------------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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
WebDNA Support wrote:> > >How about a new feature request: add a grep feature to all of the test> >operators? The current grep context is actually a search and replace;> >it would be nice to have a logical that we could feed a regexp, instead> >of exact string matches (~^=). How about # (octothorpe) for the> >operator?> > You can mix-and-match WebDNA anywhere, so could you use [grep] right> inside your [if] context to accomplish the same thing? As long as> your [grep] returns something useful that the [if] can compare> against, you can probably get this behavior today.> Well, yes, I suppose I could do that. What I was suggesting was thatsinceyou now had a regular expression engine, you could create a regexpoperatorthat would return a logical, just like [field]=fish returns a logical.[if [field1]#fi[a-z][a-z]]...[/if]Just an idea...John Peacock-------------------------------------------------------------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://search.smithmicro.com/
John Peacock
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:
Shopping Cart Problem (1998)
[WebDNA] error installing 6.2 on ubuntu (2011)
Country & Ship-to address & other fields ? (1997)
[cart]'s ever get recycled? (2000)
Bug Report, maybe (1997)
Urgent WebCatalog problem (2000)
WebCat2 - [format thousands] (1997)
WebCat2 - storing unformatted date data? (1997)
NT 4.0/IIS WebCat Installation (1998)
[addlineitems] display (1997)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
Not sending email !!! (2002)
Problems with date math (1997)
Loosing Quantity (2000)
Re:quit command on NT (1997)
Likelihood of a duplicate (2005)
Alpha List for Catagory (1998)
WebCat2b13MacPlugIn - More limits on [include] (1997)
Hard Questions ? (1997)
WCS Newbie question (1997)