title: match new line, why [.\n]* does not work in regex?
body: <p>From my understanding the . match almost all characters in regular expression. Then if I want to match any character including new line why [.\n]* does not work?</p>