dhii / regex-abstract
Abstract functionality for working with regular expressions
Installs: 1 357
Dependents: 1
Suggesters: 1
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: ^5.4 | ^7.0
Requires (Dev)
- codeclimate/php-test-reporter: <=0.3.2
- dhii/php-cs-fixer-config: ^0.1
- dhii/stringable-interface: ^0.1
- phpunit/phpunit: ^4.8
- ptrofimov/xpmock: ^1.1
This package is auto-updated.
Last update: 2024-10-07 04:02:37 UTC
README
Details
Abstract functionality for working with regular expressions
Traits
QuoteRegexCapablePcreTrait
- Escapes a string such that it is interpreted literally by the PCRE engine.GetAllMatchesRegexCapablePcreTrait
- Gets all matches which correspond to a given PCRE expression from a string. Throws an exception if matching failed.