Dokumentation
regex
modulPaperVelocity
Regular expressions: match, find, replace and split text.
import regexFunktioner 8
True if the whole text matches the pattern.
True if the pattern occurs anywhere in the text.
The first match, or none.
Every match, as a list.
The (bracketed) groups of the first match as a list, or none if nothing matches.
Replaces every match. Use $1, $2 in the replacement for groups.
Splits the text wherever the pattern matches.
A pattern that matches the text literally.