slightly more robust record boundary regex
Merge pull request #8 from jdcc/master

Small fix