Contents of the ManualInstallation The Interface General Find Hyphens Find Warning Find List Headers Work with style Edit Regex Dialog RegEx RegEx: 1° Example RegEx: 2° Example RegEx: 3° Example RegEx: 4° Example RegEx: 5° Example RegEx: 6° Example Copy RegEx Paste RegEx Options Language Debug Info
Link Utili Libre Office Open Office

RegEx: 5° Example

Create a RegEx of Warning

The examples in this guide have been performed on a test document can be downloaded here.

The fifth example will involve the creation of a new RegEx of 'Warning' with the purpose of intercepting possible error as a classic case of scanning wrong: 'rnm' instead of the double 'm'. To be honest it is a case not too common, but at least I put one in the example document.


LibreOffice - Ubuntu

OpenOffice - Windows

As we want to create a new RegEx in the 'Warning Find', we click on the icon that represents a section of RegEx (a *?) And, in the list box at the top, select 'Warning RegEx List'. After that we just have to click on the correct icon (+) in the lower to add a new RegEx.


LibreOffice - Ubuntu

OpenOffice - Windows

In the window that appears, fill in the fields as follows:

Key
This field takes a value valid random. They just do not worry about them and go over.
Visible
Select 'Visible' because the RegEx must be 'activated' and visible in the section 'Warning Find'.
Text
Write in the text field that will identify the RegEx. This text will serve only to identify a possible modification or done away with because no other part of the extension will be visible. For example, I wrote "rnm instead of mm".
Find
Here goes the RegEx itself. In this case it will be '[a-z]*rnm[a-z]*'.
Case Sens.
Select 'No' in this field because we do not care to differentiate between uppercase and lowercase.

Then click on 'OK' to change the RegEx. From this moment the RegEx change will be visible in 'Warning Find'. To make the final editing of this RegEx you need to click on the correct icon (the one furthest to the right in the lower section of the 'Edit RegEx') to save her.

If you are trying to document Errors.odt created specifically for examples of tests you can do in the 'Warning Find' to see how Pepito Cleaner is able to find the 'rnm instead of mm' following your instructions.


Next Page