Node:Regexp Constants, Previous:Nondecimal-numbers, Up:Constants
A regexp constant is a regular expression description enclosed in
slashes, such as /^beginning and end$/
. Most regexps used in
awk
programs are constant, but the ~
and !~
matching operators can also match computed or "dynamic" regexps
(which are just ordinary strings or variables that contain a regexp).