[Bug 165931] Regular expressions must be able to match non-break line endings

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Mar 29 12:39:59 UTC 2025


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

V Stuart Foote <vsfoote at libreoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vsfoote at libreoffice.org

--- Comment #15 from V Stuart Foote <vsfoote at libreoffice.org> ---
(In reply to László Németh from comment #12)
> extended syntax seems highly useful for my upcoming typography developments:
> adding 4 different regex layout boundary marks for 1) line end, 2) column
> end 3) page end and 4) spread end, and a 5th mark for the hyphenation, e.g.
> (maybe used by ICU regex) \L, \C, \P, \S and \H. Their usage in the regex
> pattern in Find&Replace enables the layout text export automatically instead
> of the recent one (document model).

Awesome, but please do not use a '\' indicator for the pattern description, it
already would conflict with ICU regex \P{} (for {UNICODE PROPERTY NAME}).

Maybe adopt the MSO structural meta marker of '^', even allow the ^p as an
analog of $ and ^l for \n,  and clearly show it is not an ICU regex
implementation?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list