[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


Using Regular Expressions (grep)

A regular expression is a text string used as a mask for matching text in a file. You can create regular expressions from single characters or from more complicated strings. The IDE compares the regular expression with the text in your files in order to locate the largest possible matching string.

This section describes the special operators in regular expressions recognized by the CodeWarrior IDE, as well as how to use regular expressions to find and replace text. To use regular expressions during a search, enable the Regular expression checkbox.

You can also combine the effect of the Regular expression checkbox with the effect of the Case sensitive checkbox. For example, enabling both checkboxes causes the IDE to use case-sensitive regular expressions during a search.


NOTE

The IDE recognizes regular expressions similar to those used in UNIX grep commands.

This section discusses the following topics:


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 17, 2000