mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-11-13 13:57:20 +00:00
dcb1b22d90
Excel's SEARCH treats ? and * in the text to find as wildcards and ~ as
an escape for them, but SEARCH used a plain case-insensitive substring
search, so =SEARCH("?c","abc") returned #VALUE! instead of 2. When the
text to find contains a wildcard character, it is now converted with
WildcardMatch (as COUNTIF and the other criteria functions do) and
matched as a case-insensitive regular expression from the start offset.
Fixes #5075