
On Wed, 22 May 2002, David W. Tamkin wrote:
| 2. What is the purpose of this portion: "$(.*$(.*$(.*$(.*$)?)?)?)?)?"?
It means the end of a line of text, plus zero to four more lines of text before the next element in the regexp (which is ^^, an anchor to the end of the search area).
Here is some more of these from the start of rc.submit. # # Does it look like a regular submission? # Or perhaps more like an administrative request? # Look at the start of the body, and see if this could be # an administrative request, pass it on to rc.request in # that case. # :0 * $$=^0 * 9876543210^0 !divertcheck ?? y { } :0 * $$=^0 * !B ?? ^^(.*$(.*$(.*$(.*$(.*$(.*$(.*$(.*$)?)?)?)?)?)?)?)?[^]>} a-z0-9] * 9876543210^0 B ?? ^^.*$.*$.*$.*$.*$.*$.*$.*$.*$ { } In the second recipe, * $$=^0 means take over the score from the previous recipe. The second condition means I think, cancel this recipe if the first character in any of the first 8 lines isn't alphanumeric or a quoting character "]", ">", "}". The third condition means add a large value to the score if the mail is nine lines long, so it isn't diverted to rc.request. I am finding that many of my students mails are being diverted, so I want to amend this. A lack of subjects is also something that I would like not to trigger diversion to rc.request. But, I don't want to turn off divertcheck to achieve this. -- Greg Matheson Learn a second language and Chinmin College be born again, almost. Taiwan Penpals Archive <URL: http://netcity.hinet.net/kurage>