MatchText issue

Bob Sneidar bobsneidar at iotecdigital.com
Tue Aug 13 11:07:47 EDT 2019


What I was trying to do was include dashes and the letter x but "-x" means something in Regex!

Bob S


> On Aug 13, 2019, at 08:02 , Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> NVM I see what -x does. It's ALL ascii characters between 32 and 120! 
> 
> Bob S
> 
> 
>> On Aug 13, 2019, at 07:54 , Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> Hi all. I am using matchText to filter text on closeField. I use this extensively for all kinds of things, and for the most part it works famously. But for phone numbers it is allowing the characters "()" when the match string is "[0-9 -x]". Not sure why. 
>> 
>> Bob S
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list