Download the PHP package levu42/regexpander without Composer
On this page you can find all versions of the php package levu42/regexpander. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download levu42/regexpander
More information about levu42/regexpander
Files in levu42/regexpander
Download levu42/regexpander
More information about levu42/regexpander
Files in levu42/regexpander
Vendor levu42
Package regexpander
Short Description PHP library that expands a regular expression into a random string that matches this pattern
License MIT
Homepage https://github.com/levu42/regexpander
Package regexpander
Short Description PHP library that expands a regular expression into a random string that matches this pattern
License MIT
Homepage https://github.com/levu42/regexpander
Please rate this library. Is it a good library?
Informations about the package regexpander
PHP Regular Expression Expander
PHP library that expands a regular expression into a random string that matches this pattern
Installation
You can install the package via composer:
Usage
Supported regexes
- Character classes: \d, \D, \s, \S, \w, \W, .
- \d = [0-9]
- \D = [^0-9]
- \s = [ \n\r]
- \S = [^ \n\r]
- \w = [a-zA-Z0-9_]
- \W = [^a-zA-Z0-9_]
- . = [anything]
- Custom character classes, e.g. [0-9a-f], [^x]
- Alternatives: a|b
- Multipliers: a+, a*, a?, a{2,5}
- Subpatterns: (a|b|\s)
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
- Florian Stascheck
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of regexpander with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
The package levu42/regexpander contains the following files
Loading the files please wait ....