You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2006/12/05 10:49:15 UTC
[Bug 5220] New: A regular expression question in EvalTests
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5220
Summary: A regular expression question in EvalTests
Product: Spamassassin
Version: 3.1.7
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: spamassassin
AssignedTo: dev@spamassassin.apache.org
ReportedBy: winnuxcn@126.com
in EvalTests.pm, line 1123($line =~ s/(?:^|\.\s+)([A-Z])([^A-Z]+)(?:\s|$)/ ' '.
(lc $1).$2.' '/ge;)
I think it converts all matching substrings into ones without uppercase
characters.For example: my $line = "A1980 . B1981 . C1982";
$line =~ s/(?:^|\.\s+)([A-Z])([^A-Z]+)(?:\s|$)/ ' '.(lc $1).$2.' '/ge;
after this subsitution the $line should be 'a1980 b1981 c1982',but what
actullay is " a1980 . B1981 c1982". Maybe this is a bug or I just
misunderstand it?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 5220] A regular expression question in EvalTests
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5220
felicity@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From felicity@apache.org 2006-12-05 06:40 -------
Please ask generic questions on the users@ list. This system is meant to deal
with bugs in the code.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.