[Libreoffice-bugs] [Bug 135538] Search-Replace: Regular Expression engine fails on zero length matches

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Aug 31 16:52:12 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=135538

--- Comment #6 from Michael Warner <michael.warner.ut+libreoffice at gmail.com> ---
(In reply to Michael Warner from comment #5)
> (In reply to Heiko Tietze from comment #4)
> > IIUC, the original request was to find digits like ABC1EFG per "\d *". Works
> 
> If I am not mistaken, "\d *" has a minimum length of one (a single digit),
> so is not an example of this bug. Trying to match "\d*" instead would have
> zero length.

But searching for "\d*" would match everywhere is not actually that useful.
Where allowing zero-length matches would be useful is with anchors like in the
original request of this bug or the other ones linked in the see also section.

-- 
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/20200831/79db9a6c/attachment.htm>


More information about the Libreoffice-bugs mailing list