Datasheet

Examples:
unsigned\x20int matches 'unsigned int' (note space in the middle)
\tunsigned matches 'unsigned' (predecessed by tab)
Character classes
You can specify a character class, by enclosing a list of characters in [], which will
match any of the characters from the list. If the first character after the "[" is "^", the
class matches any character not in the list.
Examples:
count[aeiou]r finds strings 'countar', 'counter', etc. but not 'countbr',
'
countcr', etc.
count[^aeiou]r finds strings 'countbr', 'countcr', etc. but not 'countar',
'
counter', etc.
Within a list, the "
-" character is used to specify a range, so that a-z represents all
characters between "a" and "z", inclusive.
If you want "
-" itself to be a member of a class, put it at the start or end of the list,
or escape it with a backslash.
If you want ']', you may place it at the start of list or escape it with a backslash.
Examples:
[-az] matches 'a', 'z' and '-'
[az-] matches 'a', 'z' and '-'
[a\-z] matches 'a', 'z' and '-'
[a-z] matches all twenty six small characters from 'a' to 'z'
[\n-\x0D] matches any of #10,#11,#12,#13.
[\d-t] matches any digit, '-' or 't'.
[]-a] matches any char from ']'..'a'.
Metacharacters
Metacharacters are special characters which are the essence of regular expres-
sions.There are different types of metacharacters, described below.
70
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Environment
mikroC PRO for AVR
CHAPTER 2