Changes to solve the dot metachar not matching all chars problem.
1. Dot metachar does match all chars, but since I was delimiting groups by commas, the comma char was lost as a delimiter. I now use _,_ as delimiter.
2. To write symbols like bullet points to HTML, I used OutputStreamWriter with UTF-16 encoding.