[Prev: USINGLASTPG] | [Next: WEEKDAYS] |
M2H_VARREGEX=
Perl-regex
<VARREGEX>
Perl-regex
</VARREGEX>
-varregex
Perl-regex
VARREGEX defines the Perl regular expression matching resource variables. The regex should define a back reference that contains the name of the resource variable and its arguments surround by parentheses.
WARNING: | DO NOT MESS WITH THIS RESOURCE UNLESS YOU KNOW WHAT YOU ARE DOING. If not set properly, page output can become munged. One symptom of a bad VARREGEX setting is the occurrence of numerous '$' characters in generated pages. Make sure to test your VARREGEX setting before using it with production archives. |
\$([^\$]*)\$
N/A
The following does a more stricter match:
\$([^(\$]+(?:\([^)]+\))?)\$
Although slower than the default, it minimizes potential conflicts in resource files encoded in multi-byte character sets like SJIS.
2.4.5
[Prev: USINGLASTPG] | [Next: WEEKDAYS] |