improve anonymous regex
tightened up regex a bit ore, and add todo thanks @tochev