Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: [^xyz] always matches newline? #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.

Viewing 1 post (of 1 total)