use Pattern.DOTALL for regex match