REGEXMATCH
Unsupported (not recognized)Category: Text · Last tested 2026-09-01
Real compatibility results for the REGEXMATCH function: executed in Excel for the web, Google Sheets and LibreOffice Calc, measured against Google’s published documentation. Excel does not document REGEXMATCH, so this page makes no claim about Excel. Syntax and links to that documentation are below.
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel (desktop) | No | n/a (not an Excel function) | n/a |
| Excel for the web | — | Yes (recalc, 2026-09-01) | Unsupported (not recognized) |
| Google Sheets | Yes | Yes (Drive import, 2026-09-01) | Supported, behaves as documented |
| LibreOffice Calc | No | Yes (25.8.7.3, 2026-09-01) | Unsupported (not recognized) |
LibreOffice version history
We executed the same test cases under each LibreOffice release to show exactly when REGEXMATCH’s support changed — not documentation claims, real results.
| LibreOffice version | Verdict | Tested |
|---|---|---|
| 24.2.0.3 | Unsupported (not recognized) | 2026-09-01 |
| 24.8.7.2 | Unsupported (not recognized) | 2026-09-01 |
| 25.2.0.3 | Unsupported (not recognized) | 2026-09-01 |
| 25.8.7.3 | Unsupported (not recognized) | 2026-09-01 |
Why isn't REGEXMATCH working in LibreOffice?
LibreOffice Calc does not implement REGEXMATCH as of 25.8.7.3 — in our
executed tests it returns a #NAME? (unrecognized function) error. This is not a typo or a
settings problem, and saving the file as .xlsx does not change it: the function simply isn’t
available yet.
Watch the LibreOffice version support page —
we re-run every test on each new release, so it will flip to Supported here as soon as it lands.
Discovered quirks
-
=REGEXMATCH("Spreadsheets", "S.r") on
Excel for the web returned
#NAME?, but the documented/expected
result is True.
Provenance
The page prints REGEXMATCH("Spreadsheets", "S.r") and NO result, so TRUE is DERIVED. "S.r" matches the substring "Spr" at the start of "Spreadsheets". THE PAGE NEVER SAYS WHETHER THE MATCH IS ANCHORED OR A SUBSTRING SEARCH -- there is no such sentence on it. Two things settle it: RE2's linked syntax reference defines an unanchored match, and the page would not print this pattern as its one and only sample if the answer were FALSE. That reasoning is recorded here rather than presented as a Google claim. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292. BATCH PROVENANCE (batch H, the first Sheets/LibreOffice-only batch). Every function in this batch has x == false in docs/data/compat.json: it is a Google Sheets function that Microsoft does not document at all, so this corpus makes NO claim about it in that engine and nothing here is measured against that vendor's documentation. The authority is Google's own support.google.com function page, cited by full URL and by the date it was read -- Google publishes no version number for these pages, so a bare URL dates nothing. WHAT GOOGLE ACTUALLY PRINTS, WHICH IS LESS THAN IT LOOKS: most of these pages carry a 'Sample Usage' block of FORMULAS WITH NO RESULTS. Where a value below is Google's own published output the note says so; where it is derived from the page's stated semantics the note says that instead, and says from which sentence. No value in this batch was taken from a search snippet, a blog or a mirror. LIBREOFFICE: probed on all four pinned builds (24.2.0.3, 24.8.7.2, 25.2.0.3, 25.8.7.3) in five storage spellings -- plain, _xlfn., COM.MICROSOFT., ORG.OPENOFFICE. and _xlfn.ORG.OPENOFFICE. -- and #NAME? under every one of them, so the expected values below describe Google Sheets and the LibreOffice column records absence.; MISMATCH vs expected: expected True, got '#NAME?'
-
=REGEXMATCH("Spreadsheets", "^S.r$") on
Excel for the web returned
#NAME?, but the documented/expected
result is False.
Provenance
The companion to the case above, and the reason it is here: with ^ and $ the pattern must consume the whole string, and "Spreadsheets" is twelve characters, not three. If both this case and the unanchored one return the same answer, the engine is not honouring anchors. Anchors are RE2 syntax; the page itself says nothing about them. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292.; MISMATCH vs expected: expected False, got '#NAME?'
-
=REGEXMATCH("ABC", "abc") on
Excel for the web returned
#NAME?, but the documented/expected
result is False.
Provenance
THE PAGE SAYS NOTHING ABOUT CASE SENSITIVITY -- searched for twice, on two separate fetches; there is no such sentence. FALSE is derived from RE2's linked syntax reference, under which matching is case sensitive unless a flag says otherwise. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292.; MISMATCH vs expected: expected False, got '#NAME?'
-
=REGEXMATCH("ABC", "(?i)abc") on
Excel for the web returned
#NAME?, but the documented/expected
result is True.
Provenance
The pair that makes the previous case mean something: (?i) is RE2's inline flag for case-insensitive matching, from the linked syntax reference. Google's page mentions neither the flag nor the default. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292.; MISMATCH vs expected: expected True, got '#NAME?'
-
=REGEXMATCH(TEXT(123,"0"), "2") on
Excel for the web returned
#NAME?, but the documented/expected
result is True.
Provenance
The page states: "This function only works with text (not numbers) as input and returns a logical value, i.e. TRUE or FALSE, as output. If numbers are used as input, convert them to text using the TEXT function." It names NO error value for the rejected numeric case, so this corpus asserts nothing about REGEXMATCH(123, ...) and instead executes the workaround the page prescribes. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292.; MISMATCH vs expected: expected True, got '#NAME?'
-
=REGEXMATCH("Spreadsheets", "S.r") on
LibreOffice Calc returned
#NAME?, but the documented/expected
result is True.
Provenance
The page prints REGEXMATCH("Spreadsheets", "S.r") and NO result, so TRUE is DERIVED. "S.r" matches the substring "Spr" at the start of "Spreadsheets". THE PAGE NEVER SAYS WHETHER THE MATCH IS ANCHORED OR A SUBSTRING SEARCH -- there is no such sentence on it. Two things settle it: RE2's linked syntax reference defines an unanchored match, and the page would not print this pattern as its one and only sample if the answer were FALSE. That reasoning is recorded here rather than presented as a Google claim. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292. BATCH PROVENANCE (batch H, the first Sheets/LibreOffice-only batch). Every function in this batch has x == false in docs/data/compat.json: it is a Google Sheets function that Microsoft does not document at all, so this corpus makes NO claim about it in that engine and nothing here is measured against that vendor's documentation. The authority is Google's own support.google.com function page, cited by full URL and by the date it was read -- Google publishes no version number for these pages, so a bare URL dates nothing. WHAT GOOGLE ACTUALLY PRINTS, WHICH IS LESS THAN IT LOOKS: most of these pages carry a 'Sample Usage' block of FORMULAS WITH NO RESULTS. Where a value below is Google's own published output the note says so; where it is derived from the page's stated semantics the note says that instead, and says from which sentence. No value in this batch was taken from a search snippet, a blog or a mirror. LIBREOFFICE: probed on all four pinned builds (24.2.0.3, 24.8.7.2, 25.2.0.3, 25.8.7.3) in five storage spellings -- plain, _xlfn., COM.MICROSOFT., ORG.OPENOFFICE. and _xlfn.ORG.OPENOFFICE. -- and #NAME? under every one of them, so the expected values below describe Google Sheets and the LibreOffice column records absence.; MISMATCH vs expected: expected True, got '#NAME?'
-
=REGEXMATCH("Spreadsheets", "^S.r$") on
LibreOffice Calc returned
#NAME?, but the documented/expected
result is False.
Provenance
The companion to the case above, and the reason it is here: with ^ and $ the pattern must consume the whole string, and "Spreadsheets" is twelve characters, not three. If both this case and the unanchored one return the same answer, the engine is not honouring anchors. Anchors are RE2 syntax; the page itself says nothing about them. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292.; MISMATCH vs expected: expected False, got '#NAME?'
-
=REGEXMATCH("ABC", "abc") on
LibreOffice Calc returned
#NAME?, but the documented/expected
result is False.
Provenance
THE PAGE SAYS NOTHING ABOUT CASE SENSITIVITY -- searched for twice, on two separate fetches; there is no such sentence. FALSE is derived from RE2's linked syntax reference, under which matching is case sensitive unless a flag says otherwise. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292.; MISMATCH vs expected: expected False, got '#NAME?'
-
=REGEXMATCH("ABC", "(?i)abc") on
LibreOffice Calc returned
#NAME?, but the documented/expected
result is True.
Provenance
The pair that makes the previous case mean something: (?i) is RE2's inline flag for case-insensitive matching, from the linked syntax reference. Google's page mentions neither the flag nor the default. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292.; MISMATCH vs expected: expected True, got '#NAME?'
-
=REGEXMATCH(TEXT(123,"0"), "2") on
LibreOffice Calc returned
#NAME?, but the documented/expected
result is True.
Provenance
The page states: "This function only works with text (not numbers) as input and returns a logical value, i.e. TRUE or FALSE, as output. If numbers are used as input, convert them to text using the TEXT function." It names NO error value for the rejected numeric case, so this corpus asserts nothing about REGEXMATCH(123, ...) and instead executes the workaround the page prescribes. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292.; MISMATCH vs expected: expected True, got '#NAME?'
Executed test cases
Excel for the web (executed 2026-09-01 via OneDrive recalculation)
These values come from Excel for the web, not from desktop Excel. They are two different implementations of the calculation engine, and this run measured only the web one: the corpus was uploaded to OneDrive as .xlsx, recalculated by Excel for the web on open, and downloaded again for readback. Excel for the web is a rolling service with no pinnable version, so the run is identified by its date. Where a value here disagrees with the Expected column — which is Microsoft’s documentation of the desktop product — we cannot tell you whether the web engine diverges from the desktop one or the documentation is wrong about both, because we do not run desktop Excel.
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =REGEXMATCH("Spreadsheets", "S.r") | The page's single Sample Usage line | #NAME? | TrueProvenanceThe page prints REGEXMATCH("Spreadsheets", "S.r") and NO result, so TRUE is DERIVED. "S.r" matches the substring "Spr" at the start of "Spreadsheets". THE PAGE NEVER SAYS WHETHER THE MATCH IS ANCHORED OR A SUBSTRING SEARCH -- there is no such sentence on it. Two things settle it: RE2's linked syntax reference defines an unanchored match, and the page would not print this pattern as its one and only sample if the answer were FALSE. That reasoning is recorded here rather than presented as a Google claim. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292. BATCH PROVENANCE (batch H, the first Sheets/LibreOffice-only batch). Every function in this batch has x == false in docs/data/compat.json: it is a Google Sheets function that Microsoft does not document at all, so this corpus makes NO claim about it in that engine and nothing here is measured against that vendor's documentation. The authority is Google's own support.google.com function page, cited by full URL and by the date it was read -- Google publishes no version number for these pages, so a bare URL dates nothing. WHAT GOOGLE ACTUALLY PRINTS, WHICH IS LESS THAN IT LOOKS: most of these pages carry a 'Sample Usage' block of FORMULAS WITH NO RESULTS. Where a value below is Google's own published output the note says so; where it is derived from the page's stated semantics the note says that instead, and says from which sentence. No value in this batch was taken from a search snippet, a blog or a mirror. LIBREOFFICE: probed on all four pinned builds (24.2.0.3, 24.8.7.2, 25.2.0.3, 25.8.7.3) in five storage spellings -- plain, _xlfn., COM.MICROSOFT., ORG.OPENOFFICE. and _xlfn.ORG.OPENOFFICE. -- and #NAME? under every one of them, so the expected values below describe Google Sheets and the LibreOffice column records absence. |
Mismatch |
| =REGEXMATCH("Spreadsheets", "^S.r$") | The same pattern anchored at both ends | #NAME? | FalseProvenanceThe companion to the case above, and the reason it is here: with ^ and $ the pattern must consume the whole string, and "Spreadsheets" is twelve characters, not three. If both this case and the unanchored one return the same answer, the engine is not honouring anchors. Anchors are RE2 syntax; the page itself says nothing about them. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292. |
Mismatch |
| =REGEXMATCH("ABC", "abc") | A lowercase pattern against uppercase text | #NAME? | FalseProvenanceTHE PAGE SAYS NOTHING ABOUT CASE SENSITIVITY -- searched for twice, on two separate fetches; there is no such sentence. FALSE is derived from RE2's linked syntax reference, under which matching is case sensitive unless a flag says otherwise. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292. |
Mismatch |
| =REGEXMATCH("ABC", "(?i)abc") | The same comparison with RE2's inline case-insensitivity flag | #NAME? | TrueProvenanceThe pair that makes the previous case mean something: (?i) is RE2's inline flag for case-insensitive matching, from the linked syntax reference. Google's page mentions neither the flag nor the default. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292. |
Mismatch |
| =REGEXMATCH(TEXT(123,"0"), "2") | The page's own remedy for numeric input | #NAME? | TrueProvenanceThe page states: "This function only works with text (not numbers) as input and returns a logical value, i.e. TRUE or FALSE, as output. If numbers are used as input, convert them to text using the TEXT function." It names NO error value for the rejected numeric case, so this corpus asserts nothing about REGEXMATCH(123, ...) and instead executes the workaround the page prescribes. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292. |
Mismatch |
Google Sheets (executed 2026-09-01 via Drive import)
Google Sheets is a rolling service with no pinnable version, so this run is identified by its date. The corpus was imported to Drive as .xlsx, recalculated by Sheets, and exported back for readback.
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =REGEXMATCH("Spreadsheets", "S.r") | The page's single Sample Usage line | True | TrueProvenanceThe page prints REGEXMATCH("Spreadsheets", "S.r") and NO result, so TRUE is DERIVED. "S.r" matches the substring "Spr" at the start of "Spreadsheets". THE PAGE NEVER SAYS WHETHER THE MATCH IS ANCHORED OR A SUBSTRING SEARCH -- there is no such sentence on it. Two things settle it: RE2's linked syntax reference defines an unanchored match, and the page would not print this pattern as its one and only sample if the answer were FALSE. That reasoning is recorded here rather than presented as a Google claim. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292. BATCH PROVENANCE (batch H, the first Sheets/LibreOffice-only batch). Every function in this batch has x == false in docs/data/compat.json: it is a Google Sheets function that Microsoft does not document at all, so this corpus makes NO claim about it in that engine and nothing here is measured against that vendor's documentation. The authority is Google's own support.google.com function page, cited by full URL and by the date it was read -- Google publishes no version number for these pages, so a bare URL dates nothing. WHAT GOOGLE ACTUALLY PRINTS, WHICH IS LESS THAN IT LOOKS: most of these pages carry a 'Sample Usage' block of FORMULAS WITH NO RESULTS. Where a value below is Google's own published output the note says so; where it is derived from the page's stated semantics the note says that instead, and says from which sentence. No value in this batch was taken from a search snippet, a blog or a mirror. LIBREOFFICE: probed on all four pinned builds (24.2.0.3, 24.8.7.2, 25.2.0.3, 25.8.7.3) in five storage spellings -- plain, _xlfn., COM.MICROSOFT., ORG.OPENOFFICE. and _xlfn.ORG.OPENOFFICE. -- and #NAME? under every one of them, so the expected values below describe Google Sheets and the LibreOffice column records absence. |
Matched |
| =REGEXMATCH("Spreadsheets", "^S.r$") | The same pattern anchored at both ends | False | FalseProvenanceThe companion to the case above, and the reason it is here: with ^ and $ the pattern must consume the whole string, and "Spreadsheets" is twelve characters, not three. If both this case and the unanchored one return the same answer, the engine is not honouring anchors. Anchors are RE2 syntax; the page itself says nothing about them. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292. |
Matched |
| =REGEXMATCH("ABC", "abc") | A lowercase pattern against uppercase text | False | FalseProvenanceTHE PAGE SAYS NOTHING ABOUT CASE SENSITIVITY -- searched for twice, on two separate fetches; there is no such sentence. FALSE is derived from RE2's linked syntax reference, under which matching is case sensitive unless a flag says otherwise. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292. |
Matched |
| =REGEXMATCH("ABC", "(?i)abc") | The same comparison with RE2's inline case-insensitivity flag | True | TrueProvenanceThe pair that makes the previous case mean something: (?i) is RE2's inline flag for case-insensitive matching, from the linked syntax reference. Google's page mentions neither the flag nor the default. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292. |
Matched |
| =REGEXMATCH(TEXT(123,"0"), "2") | The page's own remedy for numeric input | True | TrueProvenanceThe page states: "This function only works with text (not numbers) as input and returns a logical value, i.e. TRUE or FALSE, as output. If numbers are used as input, convert them to text using the TEXT function." It names NO error value for the rejected numeric case, so this corpus asserts nothing about REGEXMATCH(123, ...) and instead executes the workaround the page prescribes. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292. |
Matched |
LibreOffice Calc 25.8.7.3 (tested 2026-09-01)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =REGEXMATCH("Spreadsheets", "S.r") | The page's single Sample Usage line | #NAME? | TrueProvenanceThe page prints REGEXMATCH("Spreadsheets", "S.r") and NO result, so TRUE is DERIVED. "S.r" matches the substring "Spr" at the start of "Spreadsheets". THE PAGE NEVER SAYS WHETHER THE MATCH IS ANCHORED OR A SUBSTRING SEARCH -- there is no such sentence on it. Two things settle it: RE2's linked syntax reference defines an unanchored match, and the page would not print this pattern as its one and only sample if the answer were FALSE. That reasoning is recorded here rather than presented as a Google claim. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292. BATCH PROVENANCE (batch H, the first Sheets/LibreOffice-only batch). Every function in this batch has x == false in docs/data/compat.json: it is a Google Sheets function that Microsoft does not document at all, so this corpus makes NO claim about it in that engine and nothing here is measured against that vendor's documentation. The authority is Google's own support.google.com function page, cited by full URL and by the date it was read -- Google publishes no version number for these pages, so a bare URL dates nothing. WHAT GOOGLE ACTUALLY PRINTS, WHICH IS LESS THAN IT LOOKS: most of these pages carry a 'Sample Usage' block of FORMULAS WITH NO RESULTS. Where a value below is Google's own published output the note says so; where it is derived from the page's stated semantics the note says that instead, and says from which sentence. No value in this batch was taken from a search snippet, a blog or a mirror. LIBREOFFICE: probed on all four pinned builds (24.2.0.3, 24.8.7.2, 25.2.0.3, 25.8.7.3) in five storage spellings -- plain, _xlfn., COM.MICROSOFT., ORG.OPENOFFICE. and _xlfn.ORG.OPENOFFICE. -- and #NAME? under every one of them, so the expected values below describe Google Sheets and the LibreOffice column records absence. |
Mismatch |
| =REGEXMATCH("Spreadsheets", "^S.r$") | The same pattern anchored at both ends | #NAME? | FalseProvenanceThe companion to the case above, and the reason it is here: with ^ and $ the pattern must consume the whole string, and "Spreadsheets" is twelve characters, not three. If both this case and the unanchored one return the same answer, the engine is not honouring anchors. Anchors are RE2 syntax; the page itself says nothing about them. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292. |
Mismatch |
| =REGEXMATCH("ABC", "abc") | A lowercase pattern against uppercase text | #NAME? | FalseProvenanceTHE PAGE SAYS NOTHING ABOUT CASE SENSITIVITY -- searched for twice, on two separate fetches; there is no such sentence. FALSE is derived from RE2's linked syntax reference, under which matching is case sensitive unless a flag says otherwise. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292. |
Mismatch |
| =REGEXMATCH("ABC", "(?i)abc") | The same comparison with RE2's inline case-insensitivity flag | #NAME? | TrueProvenanceThe pair that makes the previous case mean something: (?i) is RE2's inline flag for case-insensitive matching, from the linked syntax reference. Google's page mentions neither the flag nor the default. THE AUTHORITY FOR REGEX SEMANTICS ON THIS PAGE IS A LINK, AND IT IS CITED AS ONE. The page states: "Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching", and links the syntax to https://github.com/google/re2/wiki/syntax. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292. |
Mismatch |
| =REGEXMATCH(TEXT(123,"0"), "2") | The page's own remedy for numeric input | #NAME? | TrueProvenanceThe page states: "This function only works with text (not numbers) as input and returns a logical value, i.e. TRUE or FALSE, as output. If numbers are used as input, convert them to text using the TEXT function." It names NO error value for the rejected numeric case, so this corpus asserts nothing about REGEXMATCH(123, ...) and instead executes the workaround the page prescribes. Google's REGEXMATCH page, read live on 2026-08-31 at https://support.google.com/docs/answer/3098292. |
Mismatch |
Docs & syntax
- Google Sheets: official documentation
Where REGEXMATCH behaves differently
- Google-only functions: what ports to Excel and LibreOffice, and what does not
Executed: 47 functions Google documents and neither Microsoft nor LibreOffice does, 189 cases, 183 of them #NAME? in LibreOffice on all four pinned builds after five- and nine-spelling probes. QUERY and ARRAYFORMULA do not port; the operator functions do exactly; REGEXMATCH, REGEXTEST and REGEX are three different functions with three regex flavours.