[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/s9e/regexp-builder/src/Passes/ -> MergeSuffix.php (summary)

(no description)

Copyright: Copyright (c) 2016-2022 The s9e authors
License: http://www.opensource.org/licenses/mit-license.php The MIT License
File Size: 86 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MergeSuffix:: (4 methods):
  canRun()
  runPass()
  hasMatchingSuffix()
  pop()


Class: MergeSuffix  - X-Ref

Replaces (?:aax|bbx) with (?:aa|bb)x

canRun(array $strings)   X-Ref
{@inheritdoc}


runPass(array $strings)   X-Ref
{@inheritdoc}


hasMatchingSuffix(array $strings)   X-Ref
Test whether all given strings have the same last element

param: array[] $strings
return: bool

pop(array $strings)   X-Ref
Remove the last element of every string

param: array[] $strings Original strings
return: array[]          Processed strings



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