regex - regular expression pattern operations

native_tags.contrib.regex.matches(pattern, text)

String comparison. True if string text matches regex pattern This is a comparison tag.

native_tags.contrib.regex.search(pattern, text)

Regex pattern search. Returns match if pattern is found in text This is a function tag.

native_tags.contrib.regex.substitute(search, replace, text)

Regex substitution function. Replaces regex search with replace in text This is a function tag.

Read the Docs v: latest
Versions
latest
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.