You can have as many patterns in a pattern class as you want. However, each pattern must have a unique index value. The order in which the patterns are processed within a pattern class is determined by the numeric order of the index values. For example, a pattern with an index value of 5 is tested before a pattern with an index value of 7. Each pattern class should be named with alphanumeric characters and no white spaces. For example: “Standard”.
Table 14-1 lists the properties that define patterns, and replacement patterns.
Property name |
Default value |
Description |
---|---|---|
Pattern.pc.index |
none |
This is the Perl regular expression pattern that, when found in a client-side script, calls the Java script rewriting function. |
Pattern.pc.index.Substitution |
$1 SybEPSSRewrite ($2)$3 |
The substitution pattern used when a match is found in the match pattern. The default value is appropriate for most cases. |
pc and index are
placeholders for the pattern class (pc) name and the index number
(0 to n). You must replace these with the class
name and a number.