I'm trying to test a string for a basic html pattern and although I use the m (multiline) modifier it only works when the string is a 1-liner
(re-find #"(?im)^<html>.*<body>.*</body>.*</html>" c))
Fails:
"<html>   <body>   sad   </body> 
     </html>"
Works:
"<html>   <body>   sad   </body>      </html>"
What am I doing wrong?