Fixed issue with wave ignore pattern matching: Stripping whitespaces.