Bug 508611 - Fix StringMatcher for patterns ending in \\*

Set fHasTrailingStar only to true if the pattern really has an
un-escaped * at the end. The previous code handled cases with an
even number of backslashes before the * incorrectly.

Change-Id: I0709f86faf6b8f68d7b73291cd7bb15fa65b0bc8
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
2 files changed