A set of ready-made regex helper methods for use in your Laravel application.
Full Changelog: https://github.com/hotmeteor/regex/compare/v0.5...v0.5.1
Full Changelog: https://github.com/hotmeteor/regex/compare/v0.4...v0.5
Adds support for IP addresses.
Supports zero-only words in IPv6 addresses, which are replaced with ::
, ie:
FE80::8329
FE80::FFFF:8329
FE80::B3FF:FFFF:8329
FE80::0202:B3FF:FFFF:8329
FE80::0000:0202:B3FF:FFFF:8329
FE80::0000:0000:0202:B3FF:FFFF:8329
FE80:0000:0000:0000:0202:B3FF:FFFF:8329
Adds Regex::isUuid($subject)
and Regex::uuid($subject)