Ask Your Question

Suggestion: Find/Replace Regular Expressions simplified [closed]

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

fractal618 gravatar image

updated 2020-08-16 12:49:17 +0100

Alex Kemp 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)

Also, why not add a hyperlink to this page in the Find/Replace window

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

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


@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

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:

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



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

Seen: 961 times

Last updated: Nov 18 '13