diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/text/shared/01/02100001.xhp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/text/shared/01/02100001.xhp b/source/text/shared/01/02100001.xhp index 71ecb3d011..48b5e168b4 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> |