escape dollar sign in package regexps