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.
\bIntegrated\s+Health\s+System\s+\\(IHS\\)\b
– Eqbal Jan 05 '10 at 23:30tags. Just indent with 4 spaces or select it and press `010101` button or `Ctrl+K`. Also see the Markdown FAQ on the right hand of the message editor.
– BalusC Jan 05 '10 at 23:33