Updating PratilipiFilter: Using RegEx compare instead of String compare.