FWIW, I have a project called Toothpicks where I get my regex's working. It's nothing but the regex under development and a
test harness. Much easier than getting it working in "live" code. Been doing it this way for 20 years, the toothpicks name comes from a Perl expression when dealing with the strings of \/\\\///x\/\\\/2\//\v type.
This afternoon I actually dropped down to perl so I could use it's regex debugger. Got it working quickly, but then couldn't port the silly thing to
Java