[ Index ]

PHP Cross Reference of phpBB-3.3.3-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

return: array
param: array[] $tokens

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

return: void
param: string $jsRegexp



Generated: Sun Feb 14 20:08:31 2021 Cross-referenced by PHPXref 0.7.1