http://www.perlmonks.org?node_id=576154


in reply to Re: regex for negating a sequence
in thread regex for negating a sequence

Your . is excluding the \n character. Use the /s flag in some form if you really mean "any character."

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊