Registry / utility / composer-pcre

composer-pcre

JSON →
library3.4.0phppackagistunverified

PCRE wrapping library that offers type-safe preg_* replacements.

composer require composer/pcre
INSTALL
IMPORT
SIG · COMPOSER-PCRE
C
composer-pcre
utilityphpv3.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Preg
use Composer\Pcre\Preg;

Perform a type-safe regex match using Preg::match.

use Composer\Pcre\Preg; $result = Preg::match('/\d+/', 'abc123', $matches); var_dump($matches);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.4.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
composer-pcre — pip install composer-pcre · libregistry