Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250706) (a6b17d8f6bd)
libphonenumber\Matcher Class Reference

Public Member Functions

 __construct (string $pattern, string $subject)
 
 end (?int $group=null)
 
 find (?int $offset=null)
 
 group (?int $group=null)
 
 groupCount ()
 
 lookingAt ()
 
 matches ()
 
 replaceAll (string $replacement)
 
 replaceFirst (string $replacement)
 
 reset (string $input='')
 
 start (int $group=0)
 

Protected Member Functions

 doMatch (string $type='find', int $offset=0)
 

Protected Attributes

array< array{string, int}> array $groups = []
 
string $pattern
 
string $subject = ''
 

The documentation for this class was generated from the following file: