Adding a regular expression
-
Do one of the following to open the Regular Expressions
dialog box:
- Click .
- Press Alt+F7.
- Click the Add button.
-
Select if you want to add a Normal or
Advanced regular expression.
A normal regular expression only has one pattern, whereas an advanced regular expression has a source and a target pattern.
- In the Description field, type a unique description for your regular expression.
-
In the Pattern field, or in the Source
pattern and Target pattern fields, type
the actual regular expression.
Use the Special button to insert the most commonly used characters and metacharacters.
- Indicate whether the expression has to be case sensitive.
- Indicate whether the expression has to search in tags.
- If necessary, select when a pattern match has to be reported in the Report if section.
- If necessary, select which errors have to be ignored in the Ignore errors of type section.
- Click OK.