taylor|fleck - matches any string containing either
taylor or fleck.
bluegrass.*festival - matches any string containing
bluegrass followed by festival, with
zero or more other characters separating them.
bluegrass.+festival - matches any string containing
bluegrass followed by festival, with
one or more other characters separating them.
(wolf|corner)stone - matches any string containing
wolf or corner followed by stone.
'.' is a regular expression that matches any character.
'*' causes the previous regular expression to match zero or more times.
'+' causes the previous regular expression to match one or more times.
'|' matches the previous or following regular expressions (alternation
operator).
'(' and ')' provide grouping of regular
expressions (grouping operators). The regular expression
wolf|cornerstone (wolf or
cornerstone) is decidedly different than
(wolf|corner)stone (wolf or corner
followed by stone). In this context the grouping operators
restrict the scope of the alternation operator.
Contact Us!
Copyright © 2007 Wolfgang's Vault