in reply to Re: Is there a regex match for an empty string ?in thread Is there a regex match for an empty string ?
or better /^\z/ (as /^$/ also matches "\n", which is not an empty string).