Prefix rules should keep spaces if they are part of the rule master
authorManuel Naranjo <manuel@evolution.com>
Tue, 7 Aug 2012 18:24:14 +0000 (15:24 -0300)
committerManuel Naranjo <manuel@evolution.com>
Tue, 7 Aug 2012 18:24:14 +0000 (15:24 -0300)
commit13843b3a6d521489ee58ebf9e3218e1317756e19
treeff7ec194a12da5ece0cb1855f6ad313b20facf97
parent371abece8cbaf9d0c396c3ab8d4fdd1ab2718e7d
Prefix rules should keep spaces if they are part of the rule

This patch fixes a small bug with prefix rules where a prefix like:
prefix I\ Am\ A\ Very\ Ugly\ Path/ will not match as the match was
made against \S and not .* making the spaces not part of the match.

Signed-off-by: Manuel Naranjo <manuel@evolution.com>
src/ruleparser.cpp