[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

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

Defines 1 class

CoalesceSingleCharacterPrefix:: (3 methods):
  runPass()
  filterEligibleKeys()
  getEligibleKeys()


Class: CoalesceSingleCharacterPrefix  - X-Ref

Replaces (?:ab|bb|c) with (?:[ab]b|c)

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


filterEligibleKeys(array $eligibleKeys)   X-Ref
Filter the list of eligible keys and keep those that have at least two matches

param: array[] $eligibleKeys List of lists of keys
return: array[]

getEligibleKeys(array $strings)   X-Ref
Get a list of keys of strings eligible to be merged together, grouped by suffix

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



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