Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / doc / MHonArc / resources / subjectarticlerxp.html
CommitLineData
86530b38
AT
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
2<html>
3<head>
4<title>MHonArc Resources: SUBJECTARTICLERXP</title>
5</head>
6<body>
7<!--x-rc-nav-->
8<table border=0><tr valign="top">
9<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>
10<!--/x-rc-nav-->
11<hr>
12<h1>SUBJECTARTICLERXP</h1>
13
14<!-- *************************************************************** -->
15<hr>
16<h2>Syntax</h2>
17
18<dl>
19
20<dt><strong>Envariable</strong></dt>
21<dd><p>
22<code>M2H_SUBJECTARTICLERXP=</code><var>perl_regex</var>
23</p>
24</dd>
25
26<dt><strong>Element</strong></dt>
27<dd><p>
28<code>&lt;SUBJECTARTICLERXP&gt;</code><br>
29<var>perl_regex</var><br>
30<code>&lt;/SUBJECTARTICLERXP&gt;</code><br>
31</p>
32</dd>
33
34<dt><strong>Command-line Option</strong></dt>
35<dd><p>
36<code>-subjectarticlerxp <var>perl_regex</var></code>
37</p>
38</dd>
39
40</dl>
41
42<!-- *************************************************************** -->
43<hr>
44<h2>Description</h2>
45
46<p>SUBJECTARTICLERXP defines the Perl regular expression matching
47leading articles (eg: "the", "a", "an") in subject text.
48</p>
49
50<p>SUBJECTARTICLERXP is used by MHonArc for sorting.
51The regex defined is used in <b><tt>s///</tt></b>
52operation with the case-insensitive modifier.
53The regex should be anchored to the beginning of the string.
54</p>
55
56<p>The SUBJECTARTICLERXP is normally changed to suit a particular
57locale.
58</p>
59
60<!-- *************************************************************** -->
61<hr>
62<h2>Default Setting</h2>
63
64<pre>
65^(the|a|an)\s+
66</pre>
67
68<!-- *************************************************************** -->
69<hr>
70<h2>Resource Variables</h2>
71
72<p>N/A
73</p>
74
75<!-- *************************************************************** -->
76<hr>
77<h2>Examples</h2>
78
79<p>If you are archiving French message, the following setting
80maybe appropriate:
81</p>
82<pre>
83<b>&lt;SubjectArticleRxp&gt;</b>
84^l(es|e|a)\s+
85<b>&lt;/SubjectArticleRxp&gt;</b>
86</pre>
87
88<!-- *************************************************************** -->
89<hr>
90<h2>Version</h2>
91
92<p>2.2.0
93</p>
94
95<!-- *************************************************************** -->
96<hr>
97<h2>See Also</h2>
98
99<p>
100<a href="subjectreplyrxp.html">SUBJECTREPLYRXP</a>
101</p>
102
103<!-- *************************************************************** -->
104<hr>
105<!--x-rc-nav-->
106<table border=0><tr valign="top">
107<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>
108<!--/x-rc-nav-->
109<hr>
110<address>
111$Date: 2002/07/27 05:13:11 $ <br>
112<img align="top" src="../monicon.png" alt="">
113<a href="http://www.mhonarc.org/"
114><strong>MHonArc</strong></a><br>
115Copyright &#169; 1998, <a href="http://www.earlhood.com/"
116>Earl Hood</a>, <a href="mailto:mhonarc@mhonarc.org"
117>mhonarc@mhonarc.org</a><br>
118</address>
119
120</body>
121</html>