Transform form
Completing the Compile tab

  1. About 
  2. New 
  3. Transform 
  4. Compile 
  5. History 

Use the Compile tab to determine details of regular expression pattern matching for this rule. Each check box corresponds to constants defined in the java.util.regex.Pattern class.

When you save the rule, PRPC validates the regular expression syntax and prepares a Java equivalent.

Field

Description

Pattern Compilation Options  
Only allow UNIX line termination ('\n')

Only a newline character (line feed) is treated as a line termination. Sets the constant PATTERN.UNIX_LINES.

Dot ('.') matches all characters including line terminators

A period character usually matches any character including a line terminator. Select to include any line terminator character in the set of characters that match a period.

Sets the constant PATTERN.DOTALL.

Start of line ('^') and end of line ('$') directives match line terminators

By default, the expressions ^ and $ ignore line terminators, and only match the beginning and end of the entire input sequence. Select to cause ^ to match the beginning of input, and also after any line terminator except at the end. Select to cause $ to match immediately before a line terminator or at the end of the input sequence.

Sets the constant PATTERN.MULTILINE.

Allow embedded comments

Select to allow white space and comments (starting with # and ending at the end of a line) to appear and be ignored within a pattern match.

Sets the constant PATTERN.COMMENTS.

Case Insensitive Matching for US-ASCII Characters

Select to enable case-insensitive matching. This assumes that only characters in the US-ASCII character set are being matched, unless the next check box is also selected.

Sets the constant PATTERN.CASE_INSENSITIVE.

Case Insensitive Matching for UNICODE Characters

Advanced feature Select to enable UNICODE-aware case folding.

Sets the constant PATTERN.UNICODE_CASE.

Canonical Equivalence

Advanced featureSelect to enable canonical equivalence; two characters are considered to match only if their full canonical decompositions match.

Sets the constant PATTERN.CANON_EQ.

Up About Parse Transform rules