Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN"> |
2 | <html> | |
3 | <head> | |
4 | <title>MHonArc Resources: SUBJECTREPLYRXP</title> | |
5 | </head> | |
6 | <body> | |
7 | <!--x-rc-nav--> | |
8 | <table border=0><tr valign="top"> | |
9 | <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> | |
10 | <!--/x-rc-nav--> | |
11 | <hr> | |
12 | <h1>SUBJECTREPLYRXP</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_SUBJECTREPLYRXP=</code><var>perl_regex</var> | |
23 | </p> | |
24 | </dd> | |
25 | ||
26 | <dt><strong>Element</strong></dt> | |
27 | <dd><p> | |
28 | <code><SUBJECTREPLYRXP></code><br> | |
29 | <var>perl_regex</var><br> | |
30 | <code></SUBJECTREPLYRXP></code><br> | |
31 | </p> | |
32 | </dd> | |
33 | ||
34 | <dt><strong>Command-line Option</strong></dt> | |
35 | <dd><p> | |
36 | <code>-subjectreplyrxp <var>perl_regex</var></code> | |
37 | </p> | |
38 | </dd> | |
39 | ||
40 | </dl> | |
41 | ||
42 | <!-- *************************************************************** --> | |
43 | <hr> | |
44 | <h2>Description</h2> | |
45 | ||
46 | <p>SUBJECTREPLYRXP defines the Perl regular expression matching | |
47 | subject text that denotes a reply message. For example, the | |
48 | string "<tt>Re: </tt>" is commonly prepended to the subject | |
49 | to denote a reply. | |
50 | </p> | |
51 | ||
52 | <p>SUBJECTREPLYRXP is used by MHonArc for sorting and threading | |
53 | purposes. The regex defined is used in <b><tt>s///</tt></b> | |
54 | operation loops with the case-insensitive modifier. Hence, the regex should eventually fail if | |
55 | called repeatedly on the same string in an <b><tt>s///</tt></b> operation. | |
56 | If not, an infinite loop will result. In sum, SUBJECTREPLYRXP | |
57 | should <strong>NOT</strong> be able to match the null string. Also, | |
58 | the regex should be anchored to the beginning of the string. | |
59 | </p> | |
60 | ||
61 | <p>The SUBJECTREPLYRXP is normally changed to suit a particular | |
62 | locale or if unusual notations are being used to denote replies. | |
63 | </p> | |
64 | ||
65 | <!-- *************************************************************** --> | |
66 | <hr> | |
67 | <h2>Default Setting</h2> | |
68 | ||
69 | <pre> | |
70 | ^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s* | |
71 | </pre> | |
72 | ||
73 | <!-- *************************************************************** --> | |
74 | <hr> | |
75 | <h2>Resource Variables</h2> | |
76 | ||
77 | <p>N/A | |
78 | </p> | |
79 | ||
80 | <!-- *************************************************************** --> | |
81 | <hr> | |
82 | <h2>Examples</h2> | |
83 | ||
84 | <p>None. | |
85 | </p> | |
86 | ||
87 | <!-- *************************************************************** --> | |
88 | <hr> | |
89 | <h2>Version</h2> | |
90 | ||
91 | <p>2.2.0 | |
92 | </p> | |
93 | ||
94 | <!-- *************************************************************** --> | |
95 | <hr> | |
96 | <h2>See Also</h2> | |
97 | ||
98 | <p> | |
99 | <a href="subjectarticlerxp.html">SUBJECTARTICLERXP</a> | |
100 | </p> | |
101 | ||
102 | <!-- *************************************************************** --> | |
103 | <hr> | |
104 | <!--x-rc-nav--> | |
105 | <table border=0><tr valign="top"> | |
106 | <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> | |
107 | <!--/x-rc-nav--> | |
108 | <hr> | |
109 | <address> | |
110 | $Date: 2002/07/27 05:13:11 $ <br> | |
111 | <img align="top" src="../monicon.png" alt=""> | |
112 | <a href="http://www.mhonarc.org/" | |
113 | ><strong>MHonArc</strong></a><br> | |
114 | Copyright © 1998, <a href="http://www.earlhood.com/" | |
115 | >Earl Hood</a>, <a href="mailto:mhonarc@mhonarc.org" | |
116 | >mhonarc@mhonarc.org</a><br> | |
117 | </address> | |
118 | ||
119 | </body> | |
120 | </html> |