Regular expressions



next up previous contents index
Next: Color syntax highlighting Up: Using Smac Previous: C-C++ headers

Regular expressions

  

A regular expression (regexp) is a text string that describes some set of strings.

Functions that handle regular expressions, based on GNU regexp-0.12, have been implemented (for more details, see the GNU documentation about regexp rules).

The functions available from Search menu provide search forward or backward and replace. Each of them prompts a dialog box to get the target regexp.

Regular expressions are composed of characters and operators that match one or more characters. Here is an abstract of commons operators:

Smac provides the following functions:

Example:



next up previous contents index
Next: Color syntax highlighting Up: Using Smac Previous: C-C++ headers



Lionel Fournigault
Mon Mar 6 13:33:34 MET 1995