\PhpOffice\PhpSpreadsheet\Calculation\InternalWildcardMatch

Summary

Methods
Properties
Constants
wildcard()
compare()
No public properties found
SEARCH_SET
REPLACEMENT_SET
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

SEARCH_SET

SEARCH_SET = ['/(?<!~)\\*/ui', '/~\\*/ui', '/(?<!~)\\?/ui', '/~\\?/ui']

REPLACEMENT_SET

REPLACEMENT_SET = ['${1}.*', '\\*', '${1}.', '\\?']

Methods

wildcard()

wildcard(string  $wildcard) : string

Parameters

string $wildcard

Returns

string —

compare()

compare(mixed  $value, string  $wildcard) : bool

Parameters

mixed $value
string $wildcard

Returns

bool —