Slick V3.3 manual Using the Regex Evaluator, Entering Test Cases

Models: V3.3

1 568
Download 568 pages 2.03 Kb
Page 343
Image 343

Using the Regex Evaluator

The Regex Evaluator

Regular expressions are used to express text patterns for searching. The Regex Evaluator provides the capability to interactively create, save, and re-use tests of regular expressions.

In SlickEdit® Core, the Regex Evaluator is a view. To open it, click Tools Regex Evaluator.

Using the Regex Evaluator

Type some samples of the text you are trying to match in the top portion of the view window labeled Test Cases. Enter your regular expression pattern in the bottom field. The Regex Evaluator will highlight matched portions of your sample text and identify groups.

Figure 8.7. Regex Evaluator View

Entering Test Cases

Type your test cases in the Test Cases text box. These test cases will be evaluated as you type your reg- ular expression in the bottom field. A wavy underline will indicate the ranges of text that match the entire

321

Page 343
Image 343
Slick V3.3 manual Using the Regex Evaluator, Entering Test Cases