Hacker News new | ask | show | jobs
by user2342 814 days ago
I'm confused by this blog-post. In the table: what is the reg-ex pattern tested and against which input?
1 comments

The input being matched is "cat\n" and the regex pattern is one of:

  "cat$" with multiline enabled
  "cat$" with multiline disabled
  "cat\z"
  "cat\Z"