I anticipated that, hence the hardcoded regexp idea, but I just remembered something else -- you might need to set $/ = undef() as well as the hardcoded regexp, to prevent the CR and LF being split across a line break.
Update: and if using perl -ne, that would have to be done in a BEGIN{ } block