<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML//EN">
<title>MHonArc Resources: SUBJECTREPLYRXP
</title>
<table border=
0><tr valign=
"top">
<td align=
"left" width=
"50%">[Prev:
<a href=
"subjectheader.html">SUBJECTHEADER
</a>]
</td><td><nobr>[
<a href=
"../resources.html#subjectreplyrxp">Resources
</a>][
<a href=
"../mhonarc.html">TOC
</a>]
</nobr></td><td align=
"right" width=
"50%">[Next:
<a href=
"subjectstripcode.html">SUBJECTSTRIPCODE
</a>]
</td></tr></table>
<!-- *************************************************************** -->
<dt><strong>Envariable
</strong></dt>
<code>M2H_SUBJECTREPLYRXP=
</code><var>perl_regex
</var>
<dt><strong>Element
</strong></dt>
<code><SUBJECTREPLYRXP
></code><br>
<var>perl_regex
</var><br>
<code></SUBJECTREPLYRXP
></code><br>
<dt><strong>Command-line Option
</strong></dt>
<code>-subjectreplyrxp
<var>perl_regex
</var></code>
<!-- *************************************************************** -->
<p>SUBJECTREPLYRXP defines the Perl regular expression matching
subject text that denotes a reply message. For example, the
string
"<tt>Re: </tt>" is commonly prepended to the subject
<p>SUBJECTREPLYRXP is used by MHonArc for sorting and threading
purposes. The regex defined is used in
<b><tt>s///
</tt></b>
operation loops with the case-insensitive modifier. Hence, the regex should eventually fail if
called repeatedly on the same string in an
<b><tt>s///
</tt></b> operation.
If not, an infinite loop will result. In sum, SUBJECTREPLYRXP
should
<strong>NOT
</strong> be able to match the null string. Also,
the regex should be anchored to the beginning of the string.
<p>The SUBJECTREPLYRXP is normally changed to suit a particular
locale or if unusual notations are being used to denote replies.
<!-- *************************************************************** -->
^\s*(re|sv|fwd|fw)[\[\]\d]*[:
>-]+\s*
<!-- *************************************************************** -->
<h2>Resource Variables
</h2>
<!-- *************************************************************** -->
<!-- *************************************************************** -->
<!-- *************************************************************** -->
<a href=
"subjectarticlerxp.html">SUBJECTARTICLERXP
</a>
<!-- *************************************************************** -->
<table border=
0><tr valign=
"top">
<td align=
"left" width=
"50%">[Prev:
<a href=
"subjectheader.html">SUBJECTHEADER
</a>]
</td><td><nobr>[
<a href=
"../resources.html#subjectreplyrxp">Resources
</a>][
<a href=
"../mhonarc.html">TOC
</a>]
</nobr></td><td align=
"right" width=
"50%">[Next:
<a href=
"subjectstripcode.html">SUBJECTSTRIPCODE
</a>]
</td></tr></table>
$Date:
2002/
07/
27 05:
13:
11 $
<br>
<img align=
"top" src=
"../monicon.png" alt=
"">
<a href=
"http://www.mhonarc.org/"
><strong>MHonArc
</strong></a><br>
Copyright
© 1998,
<a href=
"http://www.earlhood.com/"
>Earl Hood
</a>,
<a href=
"mailto:mhonarc@mhonarc.org"
>mhonarc@mhonarc.org
</a><br>