help-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

4.0 beta - question on parsing of subject line in PR header


From: Mel Hatzis
Subject: 4.0 beta - question on parsing of subject line in PR header
Date: Fri, 10 May 2002 16:20:31 -0700
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.8) Gecko/20020206

Can anyone tell me why the regular expression match for
the subject header was changed so that it no longer
supports subjects such as 'Re: category/num'?

Here's the relevant cvs log entry...

revision 1.44
date: 2001/12/23 20:22:20;  author: pdm;  state: Exp;  lines: +22 -41
(checkIfReply): Matching changed.

Previously, the regular expression was:

 "(.*re[ \t]*(\\[[0-9]+\\])?:)?[ \t]*([-a-z0-9_+.]*[:/][ \t]*([0-9]+))"

and it's been changed to:

 "\\<((PR[ \t/])|([-a-z0-9_+.]+)/)([0-9]+)"

This breaks the ability to respond to an existing PR and have
stuff added to it's Audit-Trail.

--
Mel Hatzis
Juniper Networks, Inc.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]