using the pattern flags for the =~(pattern) matcher. fixes #188