I am not a RegEx expert and just rtying to debug some jUnit code that fails.
So if I am correct this is what we are passing in:
##ALT=<ID=DEL:ME:ALU,Description="Deletion of ALU element">
and this is the line of code that regex will throw exception, but don’t have a deep knowledge of RegEx so I was wondering if you see something wrong with this expression?
pattern = Pattern.compile("((Description=\"[^\"]*\")>");
Than you.
You could try:
In your case you could use something like this to matches against your string:
This will print out:
Description="Deletion of ALU element"