Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / doc / MHonArc / resources / subjectarticlerxp.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
<html>
<head>
<title>MHonArc Resources: SUBJECTARTICLERXP</title>
</head>
<body>
<!--x-rc-nav-->
<table border=0><tr valign="top">
<td align="left" width="50%">[Prev:&nbsp;<a href="stdout.html">STDOUT</a>]</td><td><nobr>[<a href="../resources.html#subjectarticlerxp">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next:&nbsp;<a href="subjectbegin.html">SUBJECTBEGIN</a>]</td></tr></table>
<!--/x-rc-nav-->
<hr>
<h1>SUBJECTARTICLERXP</h1>
<!-- *************************************************************** -->
<hr>
<h2>Syntax</h2>
<dl>
<dt><strong>Envariable</strong></dt>
<dd><p>
<code>M2H_SUBJECTARTICLERXP=</code><var>perl_regex</var>
</p>
</dd>
<dt><strong>Element</strong></dt>
<dd><p>
<code>&lt;SUBJECTARTICLERXP&gt;</code><br>
<var>perl_regex</var><br>
<code>&lt;/SUBJECTARTICLERXP&gt;</code><br>
</p>
</dd>
<dt><strong>Command-line Option</strong></dt>
<dd><p>
<code>-subjectarticlerxp <var>perl_regex</var></code>
</p>
</dd>
</dl>
<!-- *************************************************************** -->
<hr>
<h2>Description</h2>
<p>SUBJECTARTICLERXP defines the Perl regular expression matching
leading articles (eg: "the", "a", "an") in subject text.
</p>
<p>SUBJECTARTICLERXP is used by MHonArc for sorting.
The regex defined is used in <b><tt>s///</tt></b>
operation with the case-insensitive modifier.
The regex should be anchored to the beginning of the string.
</p>
<p>The SUBJECTARTICLERXP is normally changed to suit a particular
locale.
</p>
<!-- *************************************************************** -->
<hr>
<h2>Default Setting</h2>
<pre>
^(the|a|an)\s+
</pre>
<!-- *************************************************************** -->
<hr>
<h2>Resource Variables</h2>
<p>N/A
</p>
<!-- *************************************************************** -->
<hr>
<h2>Examples</h2>
<p>If you are archiving French message, the following setting
maybe appropriate:
</p>
<pre>
<b>&lt;SubjectArticleRxp&gt;</b>
^l(es|e|a)\s+
<b>&lt;/SubjectArticleRxp&gt;</b>
</pre>
<!-- *************************************************************** -->
<hr>
<h2>Version</h2>
<p>2.2.0
</p>
<!-- *************************************************************** -->
<hr>
<h2>See Also</h2>
<p>
<a href="subjectreplyrxp.html">SUBJECTREPLYRXP</a>
</p>
<!-- *************************************************************** -->
<hr>
<!--x-rc-nav-->
<table border=0><tr valign="top">
<td align="left" width="50%">[Prev:&nbsp;<a href="stdout.html">STDOUT</a>]</td><td><nobr>[<a href="../resources.html#subjectarticlerxp">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next:&nbsp;<a href="subjectbegin.html">SUBJECTBEGIN</a>]</td></tr></table>
<!--/x-rc-nav-->
<hr>
<address>
$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 &#169; 1998, <a href="http://www.earlhood.com/"
>Earl Hood</a>, <a href="mailto:mhonarc@mhonarc.org"
>mhonarc@mhonarc.org</a><br>
</address>
</body>
</html>