Hello,
I am trying to perform a
java regexp matching as follows:
I have an xml file which I parse to instantiate a rule object. The xml file also contains a regular expression, which is a field in the Rule object. Rule object is as follows :
Sample input value for str in one iteration is 'This is our house and we have a dog'
Sample regExp is '\\bour\\b'
Issue: m.find() - never returns true. I have been breaking my head over this for quite sometime now and not been able to find a solution. Please help.
Thanks in advance !!
[HENRY: Added Code Tags]