Scaffolding Forms & Templates for Confluence Server and Data Center
Why don't my regular expressions work?
The regular expression language used is that which is built into Java 2.
However, due to the way the Confluence macro rendering engine works, some modifications have had to be made.
Consult the following table:
TIPS: Use (?s) for dotall mode. In dotall mode, the expression . matches any character, including a line terminator. It is useful when filtering content that includes line breaks.