Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Answer

The The regular expression language used  used is that which is built into Java 2.

...

Consult the following table:

Original

Function

Problem

Substitute

|

Boolean 

Boolean OR

Interpreted by Confluence as 'next parameter'.

,

,

Comma

Because it is substituting for the pipe, it can't be listed directly.

x2C

\

Escape marker

Has to be double-escaped.

{

Macro start marker

Has to be escaped.

x7B

}

Macro end marker

Has to be escaped.

x7D

...

Tip

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.