add partial and full regular expressions (rather than just full).