Copied!
  • internal
  • since 9.16.0.0
Cloneable Final Instantiable
Properties
public $lastIndex
 
  • var int
Methods
public __construct ( $caseInsensitive )
 
  • param bool $caseInsensitive
public _buildModeRegex ( $mode )
 
public exec ( $s )
 
Properties
private $caseInsensitive
 
  • var bool
private $matchAt
 
  • var int
private $matcherRe
 
private $matchIndexes
 
  • var array | string>
private $mode
private $regexes
 
  • var array | string>>
Methods
private addRule ( $rule , $regex )
 
private joinRe ( $regexps , $separator )
 

joinRe logically computes regexps.join(separator), but fixes the
backreferences so they continue to match.

it also places each individual regular expression into it's own
match group, keeping track of the sequencing of those match groups
is currently an exercise for the caller. :-)

  • param array $regexps
  • param string $separator
  • return string
private langRe ( $value , $global = false )
 
private reCountMatchGroups ( $re )
 
private reStr ( $re )
 
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration