I think anything that is just a string can be just that, not a regexp. I would also be careful about matching the leading part. Perhaps these regexp's need ^ at the beginning? Same goes for fact-value below.