or better /^\z/ (as /^$/ also matches "\n", which is not an empty string).
In reply to Re^2: Is there a regex match for an empty string ?
by Eliya
in thread Is there a regex match for an empty string ?
by palkia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |