https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7480
--- Comment #16 from Todd Rinaldo <[email protected]> --- (In reply to waltman from comment #14) > Is this the code you're referring to? > > $str =~ s/^(.{200}).+$/$1 [...]/gm; > > If so, that trims every line to 200 characters, not just the last one. Walt, I think we're communicating past each other. I think what RW is suggesting is that $str has multiple new lines and he's trying to shorten the last line in $str. In which case, he's correct that substr wouldn't work. Also it would mean that it truncates the last line of every $str but not every line in $str. Todd -- You are receiving this mail because: You are the assignee for the bug.
