Fix failure with regex include/exclude rules.
Fix failure with regex include/exclude rules.

Fixes #1692

HasClass0/greasemonkey,Martii/greasemonkey,HasClass0/greasemonkey,Martii/greasemonkey,Ventero/greasemonkey,Ventero/greasemonkey,the8472/greasemonkey,the8472/greasemonkey