regexps: add regexpsCollection and move search logic into it, fixed search case insetivity bug