Text processing: validation
Sven Wagener (contact me)
This class is meant to validate text strings using patterns that are defined with a simple syntax that is not based on regular expressions.
Here are a few examples of validation patterns:
"2N 5L" = 2Numbers 1Whitespace 5Letters e.g.: "12 ABCDE"
"2-5N 5L" = 2-5Numbers 1Whitespace 5Letters e.g.: "1234 ABCDE"
"2N:2N:2N" would match on "12:35:24" for checking time
"2N.2N.4N" would match on "01.01.2004" for checking date
This package includes sub-classes to do more specific validations like verifying address data patterns.
| Utility
| Consistency
| Docs
| Examples
| Tests
| Videos
| Overall
| Rank
|
| Good (87.5%)
| Sufficient (75.0%)
| -
| Good (83.3%)
| -
| -
| Not sure (59.6%)
| 676 |
Click here for detailed information about this class on phpclasses.org