LCB: Error: illegal escape in string

Stephen MacLean smaclean at madmansoft.com
Tue Feb 23 16:59:44 EST 2016


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




More information about the Use-livecode mailing list