in reply to cvs log parsing (REGEX)

Can't you just strip everything from "description:" to "RCS file" or end of the string?

## note: untested, and probably really inefficient ## but you get the idea. $output =~ s/description:.*?(?=RCS file|\Z)/\n/msg;