source/text/swriter/guide/search_regexp.xhp | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 4caf8d65a7b77638fdc9e59f2368b2661f5a922b Author: AnamayNarkar <[email protected]> AuthorDate: Fri Mar 6 23:59:14 2026 +0530 Commit: Olivier Hallot <[email protected]> CommitDate: Fri Mar 6 23:22:13 2026 +0100 tdf#171177 Document Unicode escapes in regex replace Follow-up to tdf#106137. Added documentation explaining that unicode sequences can now be used in the replacement input field when regular expressions are enabled. Change-Id: I329920ee9cd4724b1c35067af2e4a4a8490196e4 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/201153 Tested-by: Jenkins Reviewed-by: Olivier Hallot <[email protected]> diff --git a/source/text/swriter/guide/search_regexp.xhp b/source/text/swriter/guide/search_regexp.xhp index e2f94ae306..c8fd6ee623 100644 --- a/source/text/swriter/guide/search_regexp.xhp +++ b/source/text/swriter/guide/search_regexp.xhp @@ -78,6 +78,9 @@ <listitem> <paragraph xml-lang="en-US" id="par_id3149854" role="listitem">The regular expression for the end of a paragraph is a dollar sign ($). The regular expression for the start of a paragraph is a caret and a period (^.). The regular expression for an empty paragraph is ^$.</paragraph> </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id837492837492" role="listitem">When using regular expressions, you can insert Unicode characters in the replacement string using <literal>\uhhhh</literal> (4 hex digits) or <literal>\Uhhhhhhhh</literal> (8 hex digits) which will be expanded into their respective characters during the replacement.</paragraph> + </listitem> </list> <paragraph xml-lang="en-US" id="par_id3153414" role="note">A search using a regular expression will work only within one paragraph. That is, a will match a line break within a paragraph.</paragraph> <section id="relatedtopics">
