POSIX Extended Regular Expression Syntax (Quick Reference)
Last updated
Last updated
This article lays out POSIX Extended Regular Expression syntax implemented by ThousandEyes for page content verification in HTTP Server tests. For those wanting a more comprehensive article on this regular expression syntax, along with testing and troubleshooting guidelines, see this article.
{n} | previous expression matches exactly n times |
---|---|
( | start of pattern |
---|---|
^ | beginning of line (only valid when used at the beginning of a pattern) |
---|---|
{n,}
previous expression matches at least n times
{,m}
previous expression matches at most m times
{n,m}
previous expression matches between n and m times (inclusive)
*
previous expression matches 0 or more times
?
previous expression matches 0 or 1 times
+
previous expression matches 1 or more times
)
end of pattern
$
end of line (only valid when used at the end of a pattern)
\`
beginning of input (start of the page)
'
end of input (end of the page)
\b
word boundary