Jonathan Thom
685d3e21f3
Makes regex constant & moves single quote replace logic to parseOneOfParam2
5 years ago
criherna
9dedb06449
fix hostname regex
6 years ago
Ben Paxton
9099388d96
Fix email regex
6 years ago
rucas
dbd65cccbc
better SSN regex
...
* does not allow 00 group number
* does not allow 0000 serial number
6 years ago
Rohan Sathe
76020d061e
Fixes #26 ( #437 )
6 years ago
heatwole
0a9b75fbfd
Adding html and url encoding and updating docs
6 years ago
Joachim Adomeit
379fb67047
Fix for Email - Hostname is not validated correctly #359
7 years ago
josh
ce6284a6fc
confirm only all upper or all lower case address are valid
7 years ago
josh
6deddf27eb
proper bech32 address validation
7 years ago
josh
ba5836f763
add bitcoin and ethereum address regexes
7 years ago
Kyriakos Georgiou
030800a855
Add validation for base64 URL safe values
7 years ago
Dean Karn
5e036656b8
Add hostname_rfc1123 validation
7 years ago
Bruno Lorenz
dbd50b343f
Code hygiene
...
- Minor performance improve for FQDN validation
- Fix typo in documentation
- Simplified hostname regex
7 years ago
Bruno Lorenz
08796346a0
Append new validations
...
- hostname
- fqdn
7 years ago
Dean Karn
4d76b0dd81
Add alphaunicode & aplhanumericunicode
...
- added unicode variants of alpha & alphanumeric
8 years ago
joeybloggs
8119861695
inline Regex calls
9 years ago
joeybloggs
41b4a43989
Updated documentation for new v6
9 years ago
joeybloggs
019c5fc4ac
Finished converting baked in functions & some updates
...
completed all validations function conversion.
updated omitempty check to continue if all ok instead of
passing tag to be validated.
9 years ago
joeybloggs
35aff710e4
added many new validator + tests + documentation:
...
ascii
printascii
multibyte
datauri
latitude
longitude
ssn
10 years ago
joeybloggs
7aa70841bc
add uuid, uuid3, uuid4 and uuid5 validators + tests + documentation
10 years ago
joeybloggs
20d9b7909f
add isbn, isbn10 and isbn validators + tests + documentation
10 years ago
joeybloggs
05e0fe1f85
updated various regex's to remove any capturing groups
10 years ago
joeybloggs
5db5165e2c
update rub and reba regex
...
rejects now properly test for RGB 255 and RGB using percentages, before it allowed mixing of percentages or numbers between 0-255 but it's either or now.
10 years ago
Dean Karn
1d008b4ad2
add base64 validate as requested in issue #30
10 years ago
Dean Karn
1e1442d02c
merge changes from Pull Request #24 from @manucorporat
10 years ago
Dean Karn
4e4a2a2b8e
issue-#1
...
add url validation and test cases
add uri validation and test cases
10 years ago
Dean Karn
beb87b1d05
issue-#1
...
add rgb color validation function + Test Code
add rgba color validation function + Test Code
add hsl color validation function + Test Code
add hula color validation function + Test Code
10 years ago
Dean Karn
dfe8a4e7fa
issue-#1
...
add numeric validation function + Test Cases
add number validation function + Test Cases
add hexadecimal validation function + Test Cases
add hexcolor validation function + Test Cases
add email validation function + Test Cases
10 years ago
Dean Karn
e8eadfc326
issue-#1
...
add alpha validation function + Test code
add alphanumeric validation function + Test code
10 years ago