Download the PHP package msossai91/easegex without Composer
On this page you can find all versions of the php package msossai91/easegex. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download msossai91/easegex
More information about msossai91/easegex
Files in msossai91/easegex
Download msossai91/easegex
More information about msossai91/easegex
Files in msossai91/easegex
Vendor msossai91
Package easegex
Short Description A library to make regex easier to use
License MIT
Package easegex
Short Description A library to make regex easier to use
License MIT
Please rate this library. Is it a good library?
Informations about the package easegex
Easegex
How to Use
Match
Or
Or
Or
Match All
To use match all just change: match() to matchAll()
Flags
Can be used by using setFlag(PREG_OFFSET_CAPTURE) or using the function that already fills the flag:
setFlagOffsetCapture()setFlagUnmatchedAsNull()setFlagPatternOrder()setFlagSetOrder()
You can use the flag in constructor:
Easegex::regex($pattern, $subject, PREG_OFFSET_CAPTURE)->match()
or
(new Easegex($pattern, $subject, PREG_OFFSET_CAPTURE))->match()
Offset
Can be defined by setOffset(0) or in constructor:
Easegex::regex($pattern, $subject, $flag, 1)->match()
or
(new Easegex($pattern, $subject, $flag, 1))->match()
All versions of easegex with dependencies
PHP Build Version
Package Version
No informations.
The package msossai91/easegex contains the following files
Loading the files please wait ...