Brief Regular Expressions; Slickedit Regular Expression Examples - SlickEdit V3.3 User Manual

Slick computer accessories user manual
Table of Contents

Advertisement

• +, #, *, @, :, :* (These operators have the same precedence.)
• concatenation
• |
SlickEdit
Regular Expression Examples
®
The table below shows examples of SlickEdit regular expressions.
Table 11.15. SlickEdit Regular Expression Examples
Sample SlickEdit Regular Expression
^defproc
^definit$
^\:name
[\t ]
[\9\32]
[\x9\x20]
p?t
s?*t
for|while
^:p
xy+z

Brief Regular Expressions

Brief Regular Expressions
Description
Matches lines that begin with the word defproc.
Matches lines that only contain the word definit.
Matches lines that begin with the string :name. No-
tice that the backslash must prefix the colon charac-
ter (:).
Matches tab and space characters.
Matches tab and space characters.
Matches tab and space characters.
Matches any three-letter string starting with the let-
ter p and ending with the letter t. Two possible
matches are pot and pat.
Matches the letter s followed by any number of
characters followed by the nearest letter t. Two pos-
sible matches are seat and st.
Matches the strings for or while.
Matches lines beginning with a file name.
Matches x followed by one or more occurrences of
y followed by z.
531

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SLICKEDIT V3.3 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Corev3.3 for eclipse

Table of Contents