Libraries tagged by PCRE
php-regex/regex-transpiler
22 Downloads
Transpiles PCRE patterns to JavaScript and Python regular expressions, with the losses reported.
php-regex/regex-toolkit
22 Downloads
One entry point to every PHPRegex analysis library: parse, validate, explain, check ReDoS, optimize, generate, transpile and lint.
php-regex/regex-redos
28 Downloads
Finds the patterns that backtrack catastrophically (ReDoS) from the AST, and can confirm a finding against the engine.
php-regex/regex-parser
29 Downloads
The PCRE2 regex parser: lexer, immutable AST, validator that answers as PHP's PCRE2 would for a chosen release, AST cache and the small AST analyses.
php-regex/regex-optimizer
23 Downloads
Rewrites regex patterns into shorter equivalents and modernizes old syntax; equivalence can be proven, opt-in, by regex-automata.
php-regex/regex-linter
23 Downloads
Lints the regex patterns of a PHP code base: extraction from PHP sources, lint rules, ReDoS and validity checks, reports in console, JSON, GitHub, Checkstyle and JUnit formats.
php-regex/regex-generator
27 Downloads
Generates sample strings and test cases that a regex matches or rejects.
php-regex/regex-explain
23 Downloads
Explains, highlights and draws regex ASTs: plain text and HTML explanations, console and HTML highlighting, ASCII trees, Mermaid and railroad diagrams.
php-regex/regex-automata
28 Downloads
Compiles the regular subset of PCRE to automata to compare languages: equivalence, intersection, subset and example strings.
xoket/router
26 Downloads
Simple PCRE based routing engine.
phrosthesis/ereg-pcre
0 Downloads
Prosthesis for ereg on top of PCRE.
kafene/pcre-exception
9 Downloads
An exception class for PCRE engine errors
hakre/pcre.php
3 Downloads
CLI utility for PCRE pattern search and replace through list of files (line based)
tyhpdef/composer-pcre-impl
2 Downloads
Implementation package for tyhpdef/composer-pcre. Require tyhpdef/composer-pcre, not this package.
tyhpdef/composer-pcre
1 Downloads
Tyhp type definitions for composer/pcre 3.4.0.