This is an automated email from the ASF dual-hosted git repository.
jimjag pushed a commit to branch openformula
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/openformula by this push:
new 4309068e48 test/odf-validate: SEARCHB.regex.star should expect 3
4309068e48 is described below
commit 4309068e485897665f3fa8baffb8eb37e7a72198
Author: Jim Jagielski <[email protected]>
AuthorDate: Wed Nov 18 12:20:07 2026 -0500
test/odf-validate: SEARCHB.regex.star should expect 3
As a regex a*c on "abc" matches the c, like SEARCH does.
1 is the wildcard answer.
---
test/odf-validate/calcval-cases14.tsv | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/odf-validate/calcval-cases14.tsv
b/test/odf-validate/calcval-cases14.tsv
index b8afbc0532..785e780c34 100644
--- a/test/odf-validate/calcval-cases14.tsv
+++ b/test/odf-validate/calcval-cases14.tsv
@@ -422,7 +422,7 @@ FINDB.start.second =FINDB("b";"abc";2) cell 2
6.7.2 start at the match
FINDB.dbcs.first =FINDB("中";"中国") cell 1 6.7.2 first CJK
character is at byte 1
FINDB.dbcs.start =FINDB("国";"中国";3) cell 3 6.7.2 start at
the second CJK character
SEARCHB.regex.dot =SEARCHB("a.c";"abc") cell 1 6.7.8 regular
expressions are on in a new document
-SEARCHB.regex.star =SEARCHB("a*c";"abc") cell 1 6.7.8 regular
expression, not a wildcard
+SEARCHB.regex.star =SEARCHB("a*c";"abc") cell 3 6.7.8 a* is
zero or more a, so the match is the c; as a wildcard it would be 1
SEARCHB.regex.opt =SEARCHB("a?c";"abc") cell 3 6.7.8 a? is
optional a, so the match is the c; as a wildcard it would be 1
SEARCHB.mixed =SEARCHB("b";"a中b") cell 4 6.7.8 1 + 2 bytes
before b
SEARCHB.start.past =SEARCHB("a";"abc";4) cell #ERR 6.7.8 start
past the text