[Fixes issue #184]

In method Configration.exclude() filename is an instance of Behave's FileLocation object which cannot be an argument for re.search().