[ Index ]

PHP Cross Reference of phpBB-3.3.11-deutsch




/vendor/s9e/text-formatter/src/Configurator/Items/ -> Regexp.php (summary)

(no description)

File Size: 166 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Regexp:: (9 methods):

Class: Regexp  - X-Ref

__construct($regexp, $isGlobal = false)   X-Ref

param: string $regexp   PCRE regexp, with delimiters and modifiers, e.g. "/foo/i"
param: bool   $isGlobal Whether this regexp should have the global flag set in JavaScript

__toString()   X-Ref
Return this regexp as a string

return: string

asConfig()   X-Ref

filterConfig($target)   X-Ref

getCaptureNames()   X-Ref
Return the name of each capture in this regexp

return: string[]

getJS()   X-Ref
Return this regexp's JavaScript representation

return: string

getNamedCaptures()   X-Ref
Return all the named captures with a standalone regexp that matches them

return: array Array of [capture name => regexp]

getNamedCapturesExpressions(array $tokens)   X-Ref
Return the expression used in each named capture

return: array
param: array[] $tokens

setJS($jsRegexp)   X-Ref
Set this regexp's JavaScript representation

return: void
param: string $jsRegexp

Generated: Sat Nov 4 14:26:03 2023 Cross-referenced by PHPXref 0.7.1