ThrowTheSwitch/CMock — pull request #31 by jlesage (2014-05-09 17:02:31+00:00)
Title: Adjusted regex for strippables

Usually, characters following the pattern to strip are expected to be non-alphanumeric. However, alphanumeric characters should be allowed if last character of the pattern to strip is non-alphanumeric.

The problem I got is when we want to strip a MACRO() and this macro is followed by an alphanumeric character. For example, if we add `IFRPC_ALEN\s*\(+.*?\)+` to 'strippables'

`int MyFunction( IFRPC_ALEN(4) int param)`

would be correctly stripped, but not

`int MyFunction( IFRPC_ALEN(4)int param)`

because the macro is followed by an alphanumeric character.