I don't know why it doesn't work. :-)
In reply to Re^3: Strange regex to test for newlines: /.*\z/ by Joost in thread Strange regex to test for newlines: /.*\z/ by betterworld