I'm not much of a regex guy, but what happens if you remove the
backslash after {1,63} ? I assume something will probably stop working,
but that's the only \ in the string.
Phil Davis
On 2/23/16 1:59 PM, Stephen MacLean wrote:
Hi All,
Working to build a library extension and I’m getting an error on this line when
I go to test it in LCB:
put "^[A-Z0-9._%+-]{1,64}@(?:[A-Z0-9-]{1,63}\.){1,125}[A-Z]{2,63}$" into tRegex
The error is:
illegal escape in string
'^[A-Z0-9._%+-]{1,64}@(?:[A-Z0-9-]{1,63}\.){1,125}[A-Z]{2,63}$’
Any ideas?
Thanks,
Steve MacLean
_______________________________________________
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
--
Phil Davis
_______________________________________________
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