[Libreoffice-bugs] [Bug 106137] Find & Replace: handle \uhhhh and \Uhhhhhhhh notation in replacement string

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Apr 26 19:52:46 UTC 2017


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

V Stuart Foote <vstuart.foote at utsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |caolanm at redhat.com,
                   |                            |mstahl at redhat.com

--- Comment #4 from V Stuart Foote <vstuart.foote at utsa.edu> ---
(In reply to Eike Rathke from comment #3)
> The replacement string *IS NOT* a regular expression to match anything and
> it doesn't make sense to treat it as such.
> 
> However, we maybe could add the \u and \U notations to be used in the
> Replacement string as well, ignoring all control characters below 0x20
> except CR, LF and TAB. Note that \t (and \n in Writer) are already
> supported, see
> https://help.libreoffice.org/Common/List_of_Regular_Expressions

While fixing the very annoying omission of the \t wildcard/regex for
replacement strings against some Find results (bug 102374), could we also
handle the \u, \U flavors as well?

Rather than picking from the Special Character dialog, direct entry by Unicode
point would be very appealing. Maybe even provide for the U+hhhhh notation we
use with the <Alt>+X Unicode toggle?

-- 
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/20170426/faa2c60e/attachment.html>


More information about the Libreoffice-bugs mailing list