Go forward to Regexp.
Go backward to Patterns.
Go up to Patterns.
Kinds of Patterns
=================
Here is a summary of the types of patterns supported in `awk'.
`/REGULAR EXPRESSION/'
A regular expression as a pattern. It matches when the text of the
input record fits the regular expression. (*Note Regular
Expressions as Patterns: Regexp.)
`EXPRESSION'
A single expression. It matches when its value, converted to a
number, is nonzero (if a number) or nonnull (if a string). (
See Expressions as Patterns: Expression Patterns.)
`PAT1, PAT2'
A pair of patterns separated by a comma, specifying a range of
records. (See Specifying Record Ranges with Patterns: Ranges.)
`BEGIN'
`END'
Special patterns to supply start-up or clean-up information to
`awk'. (See `BEGIN' and `END' Special Patterns: BEGIN/END.)
`NULL'
The empty pattern matches every input record. (*Note The Empty
Pattern: Empty.)