Ask Your Question
0

Suggestion: Find/Replace Regular Expressions simplified [closed]

asked 2013-11-16 23:36:07 +0100

fractal618 gravatar image

updated 2013-11-17 07:34:16 +0100

L-user gravatar image

This is a suggestion to organize the list of regular expressions into two columns (what it does when used in the "find" box) and (what it does when used in the "replace" box)
https://help.libreoffice.org/Common/List_of_Regular_Expressions

Also, why not add a hyperlink to this page in the Find/Replace window https://iuveaene.wordpress.com/2009/10/07/change-default-color-palette-in-openoffice/

Thanks :)

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2015-11-14 16:19:05.785821

2 Answers

Sort by » oldest newest most voted
1

answered 2013-11-18 04:02:23 +0100

horst gravatar image

You might have a look at this Extension.

And another description here.

edit flag offensive delete link more

Comments

@horst, thanks. I forgot about that extension. I was going to include the ICU link, but it had few examples of use, so I decided against doing so.

oweng gravatar imageoweng ( 2013-11-18 05:05:52 +0100 )edit
0

answered 2013-11-18 01:26:08 +0100

oweng gravatar image

It sounds to me more like a request to expand the list given under the Examples. This would certainly help users better understand how regular expressions work. LO uses the ICU regex engine and so it is important to be aware of what this engine supports and what the limitations are (Wikipedia). I highly recommend this guide for learning about regular expressions:

http://www.regular-expressions.info/quickstart.html

The indicated organisation into two columns is not entirely workable. It is OK for the Search for field (this is what most examples on the web show), but does not work for the Replace with field as this is contextual and less common e.g., most regular expressions, such as .*, will be interpreted literally (full stop followed by asterisk) in the Replace with field.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2013-11-16 23:36:07 +0100

Seen: 945 times

Last updated: Nov 18 '13