added protection to allow case-insensitive region searching
Merge branch 'case_insensitive'