April 5, 2007 at 2:59 am #4280
ansmith
Member
This causes a period (.) to match all characters including newlines (normally, it does not match newlines). However, when the newline character is at its default of CRLF (`r`n), two dots are required to match it (not one). Regardless of this option, a negative class such as [^xyz] always matches newlines.