[Libreoffice-commits] help.git: source/text
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Sep 7 09:29:24 UTC 2018
source/text/shared/01/02100001.xhp | 68 ++++++++++++++++++-------------------
1 file changed, 34 insertions(+), 34 deletions(-)
New commits:
commit 975365445280e10d567dfb0bd8be6e5eb1dfdc46
Author: Olivier Hallot <olivier.hallot at libreoffice.org>
AuthorDate: Thu Sep 6 13:36:38 2018 -0300
Commit: Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Fri Sep 7 11:29:04 2018 +0200
Mute L10n in some regexp definitions and examples
Change-Id: I614575fd63d08e05ffdf7c74a9f73a4c3021cf08
Reviewed-on: https://gerrit.libreoffice.org/60105
Tested-by: Jenkins
Reviewed-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 e527cc565..b4d037dd5 100644
--- a/source/text/shared/01/02100001.xhp
+++ b/source/text/shared/01/02100001.xhp
@@ -53,7 +53,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3152427" role="tablecontent">.</paragraph>
+ <paragraph xml-lang="en-US" localize="false" id="par_id3152427" role="tablecontent">.</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3149031" role="tablecontent">Represents any single character except for a line break or paragraph break. For example, the search term "sh.rt" returns both "shirt" and "short".</paragraph>
@@ -61,7 +61,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3154682" role="tablecontent">^</paragraph>
+ <paragraph xml-lang="en-US" localize="false" id="par_id3154682" role="tablecontent">^</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3155351" role="tablecontent">Only finds the search term if the term is at the beginning of a paragraph. Special objects such as empty fields or character-anchored frames, at the beginning of a paragraph are ignored. Example: "^Peter".</paragraph>
@@ -69,7 +69,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3159194" role="tablecontent">$</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159194" localize="false" role="tablecontent">$</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3152542" role="tablecontent">Only finds the search term if the term appears at the end of a paragraph. Special objects such as empty fields or character-anchored frames at the end of a paragraph are ignored. Example: "Peter$".</paragraph>
@@ -78,7 +78,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3156414" role="tablecontent">*</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156414" role="tablecontent" localize="false">*</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3155555" role="tablecontent">Finds zero or more of the characters in front of the "*". For example, "Ab*c" finds "Ac", "Abc", "Abbc", "Abbbc", and so on.</paragraph>
@@ -86,7 +86,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3147399" role="tablecontent">+</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147399" localize="false" role="tablecontent">+</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3157958" role="tablecontent">Finds one or more of the characters in front of the "+". For example, "AX.+4" finds "AXx4", but not "AX4".</paragraph>
@@ -95,7 +95,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3143267" role="tablecontent">?</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3143267" localize="false" role="tablecontent">?</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3153684" role="tablecontent">Finds zero or one of the characters in front of the "?". For example, "Texts?" finds "Text" and "Texts" and "x(ab|c)?y" finds "xy", "xaby", or "xcy".</paragraph>
@@ -103,7 +103,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3166410" role="tablecontent">\</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3166410" localize="false" role="tablecontent">\</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3147209" role="tablecontent">Search interprets the special character that follows the "\" as a normal character and not as a regular expression (except for the combinations \n, \t, \>, and \<). For example, "tree\." finds "tree.", not "treed" or "trees".</paragraph>
@@ -111,7 +111,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3152945" role="tablecontent">\n</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152945" localize="false" role="tablecontent">\n</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3153700" role="tablecontent">Represents a line break that was inserted with the <emph>Shift</emph>+<emph>Enter</emph> key combination. To change a line break into a paragraph break, enter <emph>\n</emph> in the <emph>Find</emph> and <emph>Replace</emph> boxes, and then perform a search and replace.</paragraph>
@@ -121,7 +121,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3153258" role="tablecontent">\t</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153258" localize="false" role="tablecontent">\t</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3157809" role="tablecontent">Represents a tab. You can also use this expression in the <emph>Replace</emph> box.</paragraph>
@@ -129,7 +129,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3150670" role="tablecontent">\b</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150670" localize="false" role="tablecontent">\b</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3153666" role="tablecontent">Match a word boundary. For example, "\bbook" finds "bookmark" but not "checkbook" whereas "book\b" finds "checkbook" but not "bookmark". The discrete word "book" is found by both search terms.</paragraph>
@@ -137,7 +137,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3149576" role="tablecontent">^$</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149576" localize="false" role="tablecontent">^$</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3151245" role="tablecontent">Finds an empty paragraph.</paragraph>
@@ -145,7 +145,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3148550" role="tablecontent">^.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148550" localize="false" role="tablecontent">^.</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3159413" role="tablecontent">Finds the first character of a paragraph.</paragraph>
@@ -163,7 +163,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3145419" role="tablecontent">[abc123]</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145419" localize="false" role="tablecontent">[abc123]</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3154630" role="tablecontent">Represents one of the characters that are between the brackets.</paragraph>
@@ -171,7 +171,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3156293" role="tablecontent">[a-e]</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156293" localize="false" role="tablecontent">[a-e]</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3149167" role="tablecontent">Represents any of the characters that are between <emph>a</emph> and <emph>e</emph>, including both start and end characters.</paragraph>
@@ -180,7 +180,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3155994" role="tablecontent">[a-eh-x]</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155994" localize="false" role="tablecontent">[a-eh-x]</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3148676" role="tablecontent">Represents any of the characters that are between <emph>a-e</emph> and <emph>h-x</emph>.</paragraph>
@@ -188,7 +188,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3145318" role="tablecontent">[^a-s]</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145318" localize="false" role="tablecontent">[^a-s]</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3153351" role="tablecontent">Represents everything that is <emph>not</emph> between <emph>a</emph> and <emph>s</emph>.</paragraph>
@@ -196,8 +196,8 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3156543" role="tablecontent">\uXXXX</paragraph>
- <paragraph xml-lang="en-US" id="par_id3156544" role="tablecontent">\UXXXXXXXX</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156543" localize="false" role="tablecontent">\uXXXX</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156544" localize="false" role="tablecontent">\UXXXXXXXX</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3153768" role="tablecontent">Represents a character based on its four-digit hexadecimal Unicode code (XXXX).</paragraph>
@@ -207,7 +207,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3153951" role="tablecontent">|</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153951" localize="false" role="tablecontent">|</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3154985" role="tablecontent">Finds the terms that occur before the "|" and also finds the terms that occur after the "|". For example, "this|that" finds "this" and "that".</paragraph>
@@ -215,7 +215,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3147376" role="tablecontent">{2}</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147376" localize="false" role="tablecontent">{2}</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3150103" role="tablecontent">Defines the number of times that the character in front of the opening bracket occurs. For example, "tre{2}" finds and selects "tree".</paragraph>
@@ -223,7 +223,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3151289" role="tablecontent">{1,2}</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151289" localize="false" role="tablecontent">{1,2}</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3147317" role="tablecontent">Defines the minimum and maximum number of times that the character in front of the opening bracket can occur. For example, "tre{1,2}" finds and selects "tre" and "tree".</paragraph>
@@ -231,7 +231,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id4870754" role="tablecontent">{1,}</paragraph>
+ <paragraph xml-lang="en-US" id="par_id4870754" localize="false" role="tablecontent">{1,}</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id843836" role="tablecontent">Defines the minimum number of times that the character in front of the opening bracket can occur. For example, "tre{2,}" finds "tree", "treee", and "treeeee".</paragraph>
@@ -239,7 +239,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3148616" role="tablecontent">( )</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148616" localize="false" role="tablecontent">( )</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id2701803" role="tablecontent">In the <emph>Find</emph> box:</paragraph>
@@ -252,7 +252,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3154790" role="tablecontent">[:alpha:]</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154790" localize="false" role="tablecontent">[:alpha:]</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3147397" role="tablecontent">Represents an alphabetic character. Use <emph>[:alpha:]+</emph> to find one of them.</paragraph>
@@ -260,7 +260,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3152885" role="tablecontent">[:digit:]</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152885" localize="false" role="tablecontent">[:digit:]</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3150010" role="tablecontent">Represents a decimal digit. Use <emph>[:digit:]+</emph> to find one of them.</paragraph>
@@ -268,7 +268,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3153743" role="tablecontent">[:alnum:]</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153743" localize="false" role="tablecontent">[:alnum:]</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3153281" role="tablecontent">Represents an alphanumeric character ([:alpha:] and [:digit:]).</paragraph>
@@ -276,7 +276,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3153726" role="tablecontent">[:space:]</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153726" localize="false" role="tablecontent">[:space:]</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3150961" role="tablecontent">Represents a space character (but not other whitespace characters).<comment>UFI: see #i41706#</comment></paragraph>
@@ -284,7 +284,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3150486" role="tablecontent">[:print:]</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150486" localize="false" role="tablecontent">[:print:]</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3150872" role="tablecontent">Represents a printable character.</paragraph>
@@ -292,7 +292,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3155854" role="tablecontent">[:cntrl:]</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155854" localize="false" role="tablecontent">[:cntrl:]</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3152576" role="tablecontent">Represents a nonprinting character.</paragraph>
@@ -300,7 +300,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3149958" role="tablecontent">[:lower:]</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149958" localize="false" role="tablecontent">[:lower:]</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3145730" role="tablecontent">Represents a lowercase character if <emph>Match case</emph> is selected in <emph>Options</emph>.</paragraph>
@@ -308,7 +308,7 @@
</tablerow>
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3148455" role="tablecontent">[:upper:]</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148455" localize="false" role="tablecontent">[:upper:]</paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3150092" role="tablecontent">Represents an uppercase character if <emph>Match case</emph> is selected in <emph>Options</emph>.</paragraph>
@@ -317,11 +317,11 @@
</table>
<paragraph xml-lang="en-US" id="par_id5311440" role="paragraph">For a full list of supported metacharacters and syntax, see <link href="http://userguide.icu-project.org/strings/regexp" name="ICU Regular Expressions documentation">ICU Regular Expressions documentation</link></paragraph>
<paragraph xml-lang="en-US" id="hd_id5311441" role="heading" level="2">Examples</paragraph>
- <paragraph xml-lang="en-US" id="par_id956834773" role="paragraph">e([:digit:])? -- finds 'e' followed by zero or one digit. Note that currently all named character classes like [:digit:] must be enclosed in parentheses.<comment>issue 64368 and 113035</comment></paragraph>
- <paragraph xml-lang="en-US" id="par_id952368773" role="paragraph">^([:digit:])$ -- finds lines or cells with exactly one digit.</paragraph>
+<paragraph xml-lang="en-US" id="par_id956834773" role="paragraph"><item type="input">e([:digit:])?</item> -- finds 'e' followed by zero or one digit. Note that currently all named character classes like [:digit:] must be enclosed in parentheses.<comment>issue 64368 and 113035</comment></paragraph>
+<paragraph xml-lang="en-US" id="par_id952368773" role="paragraph"><item type="input">^([:digit:])$</item> -- finds lines or cells with exactly one digit.</paragraph>
<paragraph xml-lang="en-US" id="par_id9568773" role="paragraph">You can combine the search terms to form complex searches.</paragraph>
<paragraph xml-lang="en-US" id="hd_id71413" role="heading" level="3">To find three-digit numbers alone in a paragraph</paragraph>
- <paragraph xml-lang="en-US" id="par_id2924283" role="code">^[:digit:]{3}$</paragraph>
+<paragraph xml-lang="en-US" id="par_id2924283" localize="false" role="paragraph"><item type="input">^[:digit:]{3}$</item> </paragraph>
<paragraph xml-lang="en-US" id="par_id5781731" role="paragraph">^ means the match has to be at the start of a paragraph, </paragraph>
<paragraph xml-lang="en-US" id="par_id6942045" role="paragraph">[:digit:] matches any decimal digit, </paragraph>
<paragraph xml-lang="en-US" id="par_id4721823" role="paragraph">{3} means there must be exactly 3 copies of "digit", </paragraph>
More information about the Libreoffice-commits
mailing list