[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/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):
  __construct()
  __toString()
  asConfig()
  filterConfig()
  getCaptureNames()
  getJS()
  getNamedCaptures()
  getNamedCapturesExpressions()
  setJS()


Class: Regexp  - X-Ref


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

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
{@inheritdoc}


filterConfig($target)   X-Ref
{@inheritdoc}


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

param: array[] $tokens
return: array

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

param: string $jsRegexp
return: void



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1