[Libreoffice-bugs] [Bug 132870] BASIC-Editor: Matching start-of-line using a lone ^ does not work
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon May 11 16:57:08 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=132870
--- Comment #4 from Andreas Heinisch <andreas.heinisch at yahoo.de> ---
I think the regression was introduced by
https://bz.apache.org/ooo/show_bug.cgi?id=118887, but I think this behaviour is
not correct.
Consider the String "5a". If I search using the regex "[0-9]*", I should get 3
matches:
- 0 to 1, which is 5
- 1 to 1 and 2 to 2, which is empty
However, if I search using "[0-9]+", I get the expected match, so imho we
should allow zero length matches at the beginning of a paragraph.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200511/7b153cfe/attachment.htm>
More information about the Libreoffice-bugs
mailing list