Debian Codegraph @

doc/resources/subjectarticlerxp.html

raw
1 <html>
2 <head>
3 <title>MHonArc Resources: SUBJECTARTICLERXP</title>
4 <link rel="stylesheet" type="text/css" href="../docstyles.css">
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 <!--X-TOC-Start-->
14 <ul>
15 <li><a href="#syntax">Syntax</a>
16 <li><a href="#description">Description</a>
17 <li><a href="#default">Default Setting</a>
18 <li><a href="#rcvars">Resource Variables</a>
19 <li><a href="#examples">Examples</a>
20 <li><a href="#version">Version</a>
21 <li><a href="#seealso">See Also</a>
22 </ul>
23 <!--X-TOC-End-->
24
25 <!-- *************************************************************** -->
26 <hr>
27 <h2><a name="syntax">Syntax</a></h2>
28
29 <dl>
30
31 <dt><strong>Envariable</strong></dt>
32 <dd><p>
33 <code>M2H_SUBJECTARTICLERXP=</code><var>perl_regex</var>
34 </p>
35 </dd>
36
37 <dt><strong>Element</strong></dt>
38 <dd><p>
39 <code>&lt;SUBJECTARTICLERXP&gt;</code><br>
40 <var>perl_regex</var><br>
41 <code>&lt;/SUBJECTARTICLERXP&gt;</code><br>
42 </p>
43 </dd>
44
45 <dt><strong>Command-line Option</strong></dt>
46 <dd><p>
47 <code>-subjectarticlerxp <var>perl_regex</var></code>
48 </p>
49 </dd>
50
51 </dl>
52
53 <!-- *************************************************************** -->
54 <hr>
55 <h2><a name="description">Description</a></h2>
56
57 <p>SUBJECTARTICLERXP defines the Perl regular expression matching
58 leading articles (eg: "the", "a", "an") in subject text.
59 </p>
60
61 <p>SUBJECTARTICLERXP is used by MHonArc for sorting.
62 The regex defined is used in <b><tt>s///</tt></b>
63 operation with the case-insensitive modifier.
64 The regex should be anchored to the beginning of the string.
65 </p>
66
67 <p>The SUBJECTARTICLERXP is normally changed to suit a particular
68 locale.
69 </p>
70
71 <!-- *************************************************************** -->
72 <hr>
73 <h2><a name="default">Default Setting</a></h2>
74
75 <pre>
76 ^(the|a|an)\s+
77 </pre>
78
79 <!-- *************************************************************** -->
80 <hr>
81 <h2><a name="rcvars">Resource Variables</a></h2>
82
83 <p>N/A
84 </p>
85
86 <!-- *************************************************************** -->
87 <hr>
88 <h2><a name="examples">Examples</a></h2>
89
90 <p>If you are archiving French message, the following setting
91 maybe appropriate:
92 </p>
93 <pre>
94 <b>&lt;SubjectArticleRxp&gt;</b>
95 ^l(es|e|a)\s+
96 <b>&lt;/SubjectArticleRxp&gt;</b>
97 </pre>
98
99 <!-- *************************************************************** -->
100 <hr>
101 <h2><a name="version">Version</a></h2>
102
103 <p>2.2.0
104 </p>
105
106 <!-- *************************************************************** -->
107 <hr>
108 <h2><a name="seealso">See Also</a></h2>
109
110 <p>
111 <a href="subjectreplyrxp.html">SUBJECTREPLYRXP</a>
112 </p>
113
114 <!-- *************************************************************** -->
115 <hr>
116 <!--x-rc-nav-->
117 <table border=0><tr valign="top">
118 <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>
119 <!--/x-rc-nav-->
120 <hr>
121 <address>
122 $Date: 2003/10/06 22:04:20 $ <br>
123 <img align="top" src="../monicon.png" alt="">
124 <a href="http://www.mhonarc.org/"
125 ><strong>MHonArc</strong></a><br>
126 Copyright &#169; 1998, <a href="http://www.earlhood.com/"
127 >Earl Hood</a>, <a href="mailto:mhonarc&#37;40mhonarc.org"
128 >mhonarc<!--
129 -->&#64;<!--
130 -->mhonarc.org</a><br>
131 </address>
132
133 </body>
134 </html>