source/text/shared/01/02100001.xhp | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-)
New commits: commit 470abc85b20e113506966df8883e287d25079517 Author: Olivier Hallot <olivier.hal...@libreoffice.org> AuthorDate: Wed Apr 5 13:29:15 2023 -0300 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Wed Apr 5 20:31:56 2023 +0200 tdf#154608 Add example of regex with \N{} to Help Change-Id: I7b6c847cc3fbcbb62d9590eea4050630933e85f5 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/150062 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> Tested-by: Olivier Hallot <olivier.hal...@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> diff --git a/source/text/shared/01/02100001.xhp b/source/text/shared/01/02100001.xhp index 73d57d4a45..e96b9854c8 100644 --- a/source/text/shared/01/02100001.xhp +++ b/source/text/shared/01/02100001.xhp @@ -194,7 +194,17 @@ <tablecell> <paragraph id="par_id3153768" role="tablecontent">The character represented by the four-digit hexadecimal Unicode code (XXXX).</paragraph> <paragraph id="par_id3153769" role="tablecontent">The character represented by the eight-digit hexadecimal Unicode code (XXXXXXXX).</paragraph> - <paragraph id="par_id3159252" role="tablecontent">For certain symbol fonts the symbol (glyph) that you see on screen may look related to a different Unicode code than what is actually used for it in the font. The Unicode codes can be viewed by choosing <menuitem>Insert - Special Character</menuitem>, or by using <link href="text/shared/04/01010000.xhp#unicode_shortcut">Unicode conversion shortcut</link>.</paragraph> + <note id="par_id3159252">For certain symbol fonts the symbol (glyph) that you see on screen may look related to a different Unicode code than what is actually used for it in the font. The Unicode codes can be viewed by choosing <menuitem>Insert - Special Character</menuitem>, or by using <link href="text/shared/04/01010000.xhp#unicode_shortcut">Unicode conversion shortcut</link>.</note> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id821680694984368" role="tablecontent"> \N{UNICODE CHARACTER NAME}</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271680694984369" role="tablecontent">Match the Unicode named character.</paragraph> + <paragraph role="paragraph" id="par_id911680695810483">Some remarkable Unicode named characters are <literal>SPACE</literal>, <literal>NO-BREAK SPACE</literal>, <literal>SOFT HYPHEN</literal>, <literal>ACUTE ACCENT</literal>, <literal>CIRCUMFLEX ACCENT</literal>, <literal>GRAVE ACCENT</literal>.</paragraph> + <note id="par_id361680709269316">The Unicode character names can be searched and viewed by choosing <menuitem>Insert - Special Character</menuitem>.</note> </tablecell> </tablerow> <tablerow> @@ -315,7 +325,7 @@ </tablecell> </tablerow> </table> -<paragraph id="par_id5311440" role="paragraph">For a full list of supported metacharacters and syntax, see <link href="https://unicode-org.github.io/icu/userguide/strings/regexp.html#regular-expression-metacharacters">ICU Regular Expressions documentation</link></paragraph> +<note id="par_id5311440">For a full list of supported metacharacters and syntax, see <link href="https://unicode-org.github.io/icu/userguide/strings/regexp.html#regular-expression-metacharacters">ICU Regular Expressions documentation</link></note> <paragraph role="paragraph" id="par_id261559577375317">Regular expression terms can be combined to form complex and sophisticated regular expressions for searches as show in the following examples.</paragraph> <h2 id="hd_id5311441">Examples</h2> @@ -402,6 +412,7 @@ </table> <section id="relatedtopics"> + <paragraph role="paragraph" id="par_id421680698947038"><link href="https://unicode-org.github.io/icu/userguide/strings/regexp.html#regular-expression-metacharacters">ICU Regular Expressions documentation</link></paragraph> <embed href="text/shared/01/02100000.xhp#02100000"/> <switch select="appl"> <case select="WRITER"><embed href="text/swriter/guide/search_regexp.xhp#search_regexp"/>