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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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.

Reply via email to