What's wrong with this?

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62292
interpreted = N
texte = [text show=f]myURL=[AD_WEBLINK][/text] [if (("[AD_WEBLINK]" ^ "http") | ("[AD_WEBLINK]" ^ "mailto"))] [then][!]do nothing[/!][/then] [else][text show=f]myURL=http://[myURL][/text][/else] [/if] If [AD_WEBLINK] is certain to only contain alphanumerics and a period or two and possibly one an only one @ in the case of a mailto... then why does this comparison always execute the "else" clause? I'm sure it's something simple that is staring me right in the face. ------------------------------------------------------------- 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:

    
  1. Re: What's wrong with this? ( Donovan Brooke 2005)
  2. Re: What's wrong with this? ( Stuart Tremain 2005)
  3. Re: What's wrong with this? ( Stuart Tremain 2005)
  4. What's wrong with this? ( Joe D'Andrea 2005)
[text show=f]myURL=[AD_WEBLINK][/text] [if (("[AD_WEBLINK]" ^ "http") | ("[AD_WEBLINK]" ^ "mailto"))] [then][!]do nothing[/!][/then] [else][text show=f]myURL=http://[myURL][/text][/else] [/if] If [AD_WEBLINK] is certain to only contain alphanumerics and a period or two and possibly one an only one @ in the case of a mailto... then why does this comparison always execute the "else" clause? I'm sure it's something simple that is staring me right in the face. ------------------------------------------------------------- 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/ Joe D'Andrea

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:

BreadCrumb Trails (2001) SMSI FTP - calander system (2002) WebCat2b12 - nesting [tags] (1997) Search with Special Chars (1997) webmerch and serials - almost there (1997) Sort Order on a page search (1997) Draft Manual, Tutorial, and more (1997) no global [username] or [password] displayed ... (1997) [WebDNA] Why doesn't this returnraw redirect to the new page? (2009) WebMerchant 3.0 for Mac shipping now (1998) Couple of techno questions (1999) writefile, csv, tab and excel import behavior (2004) Re:2nd WebCatalog2 Feature Request (1996) Bulletin Board (1998) Search in 2 or more catalogs (1997) WebCatalog Upgrade Pricing? (1997) why do I get authorization requests, even though (1999) [WebDNA] [BULK] strange triggers.db occurrence??? (2012) More on the email templates (1997) unable to launch acgi in WebCat (1997)