2016-02-15, 11:59 PM
Right so - I've recently added two new custom profile fields. One checks that the input is a valid image URL using https:// and the other input is a #000000 hex colour code.
The more complex image regular expression works perfectly as expected, the hex colour validation does not, it even throws PHP warnings...
I even colour coded it.
Is there any reason this doesn't work for PHP/PCRE?
The more complex image regular expression works perfectly as expected, the hex colour validation does not, it even throws PHP warnings...
Quote:^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
I even colour coded it.
Is there any reason this doesn't work for PHP/PCRE?