MHonArc Resource List

VARREGEX


Syntax

Envariable

M2H_VARREGEX=Perl-regex

Element


<VARREGEX>
Perl-regex
</VARREGEX>

Command-line Option


-varregex Perl-regex


Description

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.

Do not mess with this resource unless you know what you are doing.


Default Setting

\$([^\$]*)\$

Resource Variables

N/A


Examples

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.


Version

2.4.5


See Also


00/02/13 03:32:16
MHonArc
Copyright © 2000, Earl Hood, mhonarc@pobox.com