allow $n ($1 $2 $3 ...) or $ (EOL) not followed by a word character