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

--- Comment #12 from V Stuart Foote <[email protected]> ---
(In reply to Commit Notification from comment #11)
> Pierre F committed a patch related to this issue.
> It has been pushed to "master":
> 
> https://git.libreoffice.org/help/commit/
> e3caa53e99709b7099611b67cf73e9bdbd8801ea
> 
> more (simple) regex examples + fix note on paragraph limitation. tdf#38261,
> tdf#159607

Thanks Pierre, documentation and examples getting better, but not sure we yet
have quite the correct wording about Regexp matches and Paragraphs.

"A search using a regular expression will work only within one paragraph. That
is, a \n will match a line break within a paragraph."

We can in fact match a string in *every* paragraph of a document in one pass.

We just can't match strings at the Paragraph bounds, e.g. a Paragraph ending
with xyz$ or starting with ^abc (needing to implement support look-ahead /
look-behind syntax to be able to construct a pattern to match).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to