[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/s9e/regexp-builder/src/Passes/ -> PromoteSingleStrings.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: 49 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PromoteSingleStrings:: (2 methods):
  runPass()
  promoteSingleStrings()


Class: PromoteSingleStrings  - X-Ref

Replaces alternations that only contain one string to allow other passes to replace
(?:a0?x|bx) with (?:a0?|b)x

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


promoteSingleStrings(array $string)   X-Ref
Promote single strings found inside given string

param: array $string Original string
return: array         Modified string



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