I am having a problem with the following bit of code. I am trying to match a string. When I have a match everything works perfectly. When it does not find a match it thro
This is behaving as documented. You are welcome to catch the exception rather than checking for the empty string.