Wixel / GUMP

A fast, extensible & stand-alone PHP input validation class that allows you to validate any data
https://wixelhq.com
MIT License
1.17k stars 341 forks source link

Regex issue or i do something wrog #265

Closed telemoes closed 4 years ago

telemoes commented 6 years ago

Hello,

I use GUMP in my own framework and it work great but i have make my own regex but this is not working

$rules['tag'] = 'required|regex,/[A-Za-z0-9-\s\']/|max_len,128'; When i fillout with evenything in de regex is works great but when i fillout 6.50 (point is not in the regex) then the rule is good in my opion is the rue wrong because the point.

Or do i something wrong?

Greetings Martijn

filisko commented 4 years ago

Sorry but this its your regex pattern problem.