Closed benmcmahon100 closed 8 years ago
Nope nope NOPE.
Any string which contains the word true or false ANYWHERE gets replaced with true/false.
Tighten up your regex: /^(true|false)$/.
/^(true|false)$/
Better :wink:
Nope nope NOPE.
Any string which contains the word true or false ANYWHERE gets replaced with true/false.
Tighten up your regex:
/^(true|false)$/
.