The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
<html>
<head>
<title>MHonArc Resources: SUBJECTREPLYRXP</title>
<link rel="stylesheet" type="text/css" href="../docstyles.css">
</head>
<body>
<!--x-rc-nav-->
<table border=0><tr valign="top">
<td align="left" width="50%">[Prev:&nbsp;<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:&nbsp;<a href="subjectstripcode.html">SUBJECTSTRIPCODE</a>]</td></tr></table>
<!--/x-rc-nav-->
<hr>
<h1>SUBJECTREPLYRXP</h1>
<!--X-TOC-Start-->
<ul>
<li><a href="#syntax">Syntax</a>
<li><a href="#description">Description</a>
<li><a href="#default">Default Setting</a>
<li><a href="#rcvars">Resource Variables</a>
<li><a href="#examples">Examples</a>
<li><a href="#version">Version</a>
<li><a href="#seealso">See Also</a>
</ul>
<!--X-TOC-End-->

<!-- *************************************************************** -->
<hr>
<h2><a name="syntax">Syntax</a></h2>

<dl>

<dt><strong>Envariable</strong></dt>
<dd><p>
<code>M2H_SUBJECTREPLYRXP=</code><var>perl_regex</var>
</p>
</dd>

<dt><strong>Element</strong></dt>
<dd><p>
<code>&lt;SUBJECTREPLYRXP&gt;</code><br>
<var>perl_regex</var><br>
<code>&lt;/SUBJECTREPLYRXP&gt;</code><br>
</p>
</dd>

<dt><strong>Command-line Option</strong></dt>
<dd><p>
<code>-subjectreplyrxp <var>perl_regex</var></code>
</p>
</dd>

</dl>

<!-- *************************************************************** -->
<hr>
<h2><a name="description">Description</a></h2>

<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
to denote a reply.
</p>

<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>

<p>The SUBJECTREPLYRXP is normally changed to suit a particular
locale or if unusual notations are being used to denote replies.
</p>

<!-- *************************************************************** -->
<hr>
<h2><a name="default">Default Setting</a></h2>

<pre>
^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*
</pre>

<!-- *************************************************************** -->
<hr>
<h2><a name="rcvars">Resource Variables</a></h2>

<p>N/A
</p>

<!-- *************************************************************** -->
<hr>
<h2><a name="examples">Examples</a></h2>

<p>None.
</p>

<!-- *************************************************************** -->
<hr>
<h2><a name="version">Version</a></h2>

<p>2.2.0
</p>

<!-- *************************************************************** -->
<hr>
<h2><a name="seealso">See Also</a></h2>

<p>
<a href="subjectarticlerxp.html">SUBJECTARTICLERXP</a>
</p>

<!-- *************************************************************** -->
<hr>
<!--x-rc-nav-->
<table border=0><tr valign="top">
<td align="left" width="50%">[Prev:&nbsp;<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:&nbsp;<a href="subjectstripcode.html">SUBJECTSTRIPCODE</a>]</td></tr></table>
<!--/x-rc-nav-->
<hr>
<address>
$Date: 2003/10/06 22:04:20 $ <br>
<img align="top" src="../monicon.png" alt="">
<a href="http://www.mhonarc.org/"
><strong>MHonArc</strong></a><br>
Copyright &#169; 1998, <a href="http://www.earlhood.com/"
>Earl Hood</a>, <a href="mailto:mhonarc&#37;40mhonarc.org"
>mhonarc<!--
-->&#64;<!--
-->mhonarc.org</a><br>
</address>

</body>
</html>