Bug 98566 - calc online and offline help: add escaping for searching parentheses in regular expression
Summary: calc online and offline help: add escaping for searching parentheses in regul...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
5.0.4.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Help-Changes-Features
  Show dependency treegraph
 
Reported: 2016-03-09 21:36 UTC by Schusch
Modified: 2018-09-29 21:03 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Schusch 2016-03-09 21:36:16 UTC
related to offline and online help (german, but also english)

to find here: help.libreoffice.org/Common/List_of_Regular_Expressions/

i'm missing the hint that one also needs to escape a parenthesis for finding it in regex search; so there should be a hint in this paragraph:

( ) 	In the Search for box:

Defines the characters inside the parentheses as a reference. You can then refer to the first reference in the current expression with "\1", to the second reference with "\2", and so on.

For example, if your text contains the number 13487889 and you search using the regular expression (8)7\1\1, "8788" is found.

You can also use () to group terms, for example, "a(bc)?d" finds "ad" or "abcd".

--- hint start ---
For searching a parenthesis you should escape it: "\(" finds a "("
--- hint end ---


I know it's slightly redundant, but just to clarify it for the nonprofessionals in regular expressions ... 

Or perhaps there should be a row on the top below "Any character":

"Special characters": All characters used here for building regular expressions have to be escaped to find the literal characters: <list of this special characters>

thanks for the good work!

Schusch