Fix issue where macros would be skipped when tab indentation is used

Some legacy projects are using tab indentation, and the current regex to process macros does not match whitespace with tabs, only spaces.