ignore regex search pattern compile error