I have the following regular expression, that I am compiling with Pattern class.
\bIntegrated\s+Health\s+System\s+\(IHS\)\b
Why is this not matching this string?
"test pattern case Integrated Health System (IHS)."
If I try \bpattern\b, it seems to work, but for the above phrase it does not. I have the parenthesis in the pattern escaped, so not sure why it doesn't work. It does match if I remove the parenthesis portion of the pattern, but I want to match the whole thing.