Transform form
|
|
Use the Compile tab to determine details of regular expression pattern matching for this rule. Each checkbox 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 |
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 |
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 |
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 |
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 checkbox is also selected. Sets the constant |
Case Insensitive Matching for UNICODE Characters |
Select to enable UNICODE-aware case folding. Sets the constant |
Canonical Equivalence |
Select to enable canonical equivalence; two characters are considered to match only if their full canonical decompositions match. Sets the constant |