[Libreoffice-commits] help.git: source/text

Olivier Hallot (via logerrit) logerrit at kemper.freedesktop.org
Thu Jan 23 14:46:36 UTC 2020


 source/text/shared/01/02100001.xhp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 53f7dc371b1483a61b802e8bf57817390ffa271c
Author:     Olivier Hallot <olivier.hallot at libreoffice.org>
AuthorDate: Thu Jan 23 15:37:23 2020 +0100
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Thu Jan 23 15:46:17 2020 +0100

    Rework sentence for Regex Help page.
    
    Change-Id: I8d550d4153b3fc75132458b100b573047e0c8676
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/87278
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
    Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/source/text/shared/01/02100001.xhp b/source/text/shared/01/02100001.xhp
index 71ecb3d01..48b5e168b 100644
--- a/source/text/shared/01/02100001.xhp
+++ b/source/text/shared/01/02100001.xhp
@@ -243,7 +243,7 @@
                 <paragraph id="par_id891559576747109"  role="listitem">To group terms in a complex expression to be operated on by the post-fix operators: "*", "+" and "?" along with the post-fix repetition operators. For example, the regular expression "a(bc)?d" matches both "ad" and "abcd" in a search.; the regular expression "M(iss){2}ippi" matches "Mississippi".</paragraph>
             </listitem>
             <listitem>
-                <paragraph id="par_id801559576780692"  role="listitem">To record the matched sub string inside the parentheses as a reference for later use in the <widget>Find</widget> box using the "\n" construct or in the <widget>Replace</widget> box using the "$n" construct, where the reference to the first matched sub string in the current expression is represented by "\1" in the <widget>Find</widget> box and by "$1" in the <widget>Replace</widget> box, the reference to the second matched sub string by "\2" and "$2" respectively, and so on.</paragraph>
+                <paragraph id="par_id801559576780692"  role="listitem">To record the matched sub string inside the parentheses as a reference for later use in the <widget>Find</widget> box using the "\n" construct or in the <widget>Replace</widget> box using the "$n" construct. The reference to the first match is represented by "\1" in the <widget>Find</widget> box and by "$1" in the <widget>Replace</widget> box. The reference to the second matched sub string by "\2" and "$2" respectively, and so on.</paragraph>
                 </listitem>
         </list>
         <paragraph role="paragraph" id="par_id951559576846997">For example, the regular expression "(890)7\1\1" matches "8907890890".</paragraph>


More information about the Libreoffice-commits mailing list