Try ^$ /xx/. I remember reading an article that the ^$ can be
replaced with a non-regex keyword (something like var == '')
though, which is lighter on the server resources since it does not
use regular expressions. You may want to try or google about
it.