Fixed an issue with the multiline regex.
Set smaller buffer size. Fixed issue with regex.