After doing some research here is my findings:
It uses a matches() technique, not a find() technique. Personally for this,
find() seems like it would be far better but either way works. Since it is using matches you will likely want to tell it to use a multi-line match "
(?s)" this was the cause for a lot of my issues with this.
Personally, I would recommend just using the script assertion and use the regex there VIA groovy. But just remember, it's a
matches() type of identifier.
This url has a great regex tester that should help you find your regex matches. Just copy and paste the XMl into one of the input fields and then test your regex there. Again, it HAS to
match with the regex assertion.
http://www.regexplanet.com/advanced/java/index.html