[BUG #7222] escape dollar sign in selector expression