From 7d80346111e3945a8ec6cf5bbf5258eb7402d76d Mon Sep 17 00:00:00 2001 From: Olivier Hallot Date: Wed, 10 Apr 2019 17:12:52 -0300 Subject: tdf#118076 Clarify use of regexp in writer search Writer only supports regex in searches. Wildcards restricted to Calc. Change-Id: If0ac52672a397832d48754e8221967b7b30b4df6 Reviewed-on: https://gerrit.libreoffice.org/70551 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- source/text/swriter/guide/search_regexp.xhp | 46 +++++++++++++++-------------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/source/text/swriter/guide/search_regexp.xhp b/source/text/swriter/guide/search_regexp.xhp index 9ccbda171e..c0f4553765 100644 --- a/source/text/swriter/guide/search_regexp.xhp +++ b/source/text/swriter/guide/search_regexp.xhp @@ -1,6 +1,6 @@ - + - - + + - Using Wildcards in Text Searches + Using Regular Expressions in Text Searches /text/swriter/guide/search_regexp.xhp -wildcards, see regular expressions - searching; with wildcards - regular expressions;searching - examples for regular expressions - characters;finding all - invisible characters;finding - paragraph marks;searching + +wildcards, see regular expressions +searching; with regular expressions +regular expressions;searching +examples for regular expressions +characters;finding all +invisible characters;finding +paragraph marks;searching mw deleted "wildcards;" and inserted wildcards crossreferencemw added "paragraph marks;" -Using Wildcards in Text Searches +Using Regular Expressions in Text Searches - Wildcards or placeholders can be used to search for some unspecified or even invisible characters. - You can use wildcards when you find and replace text in a document. For example, "s.n" finds "sun" and "son". + Regular expressions can be used to search for some unspecified or even invisible characters. + Searching with regular expressions is different from searching with wildcards. %PRODUCTNAME Writer only supports searching with regular expressions. + You can use regular expressions when you find and replace text in a document. For example, "s.n" finds "sun" and "son". Choose Edit - Find & Replace. @@ -50,7 +52,7 @@ Select the Regular expressions check box. - In the Find box, type the search term and the wildcard(s) that you want to use in your search. + In the Find box, type the search term and the regular expression(s) that you want to use in your search. Click Find Next or Find All. @@ -59,24 +61,24 @@ Regular Expression Examples - The wildcard for a single character is a period (.). + The regular expression for a single character is a period (.). - The wildcard for zero or more occurrences of the previous character is an asterisk. For example: "123*" finds "12" "123", and "1233". + The regular expression for zero or more occurrences of the previous character is an asterisk. For example: "123*" finds "12" "123", and "1233". - The wildcard combination to search for zero or more occurrences of any character is a period and asterisk (.*). + The regular expression combination to search for zero or more occurrences of any character is a period and asterisk (.*). - The wildcard for the end of a paragraph is a dollar sign ($). The wildcard character combination for the start of a paragraph is a caret and a period (^.). + The regular expression for the end of a paragraph is a dollar sign ($). The regular expression character combination for the start of a paragraph is a caret and a period (^.). - The wildcard for a tab character is \t. + The regular expression for a tab character is \t. A search using a regular expression will work only within one paragraph. To search using a regular expression in more than one paragraph, do a separate search in each paragraph.
- List of Wildcards + List of regular expressions
-
\ No newline at end of file + -- cgit