AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: johnf_dfs on July 07, 2016, 03:22:25 PM

Title: Regular expression pattern invalid
Post by: johnf_dfs on July 07, 2016, 03:22:25 PM
I want to allow up to 3 letters as a Global Attribute.  But when I put in the regex pattern [A-Z]{1,3} to validate values, AbanteCart returns error message "Regular Expression Pattern is invalid!".

What am I doing wrong?

---John---


Title: Re: Regular expression pattern invalid
Post by: abolabo on July 08, 2016, 04:39:19 AM
try to add slashes

/[A-Z]{1,3}/