> On 23 Oct 2018, at 5:01 pm, Mark Wieder via use-livecode > <use-livecode@lists.runrev.com> wrote: > >> Here’s one I have used which seems to work nicely: > > Interesting regex, but always returns true no matter what I throw at it. > Seems that if *any* of the variables are filled (e.g. tPath) then the > matchtext function returns true, so as long as anything is in pUrl the string > is validated.
Aha… ah yes that regex doesn’t really validate it parses the url. So yeah it’s probably not what is required here. Cheers Monte _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode