#68 Added strip margin check on regex. Formatted using scalariform