I know that DOTALL is available for the fully fledged Pattern+Matcher classes.

But if I want to only use String.matches(), is there a way to tell it to use the DOTALL modifier?

Edit
Report