Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm confused by this blog-post. In the table: what is the reg-ex pattern tested and against which input?


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"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: