bc007038f7
Instead, use printf(1) to save the regexp in a shell variable, taking advantage of the fact that printf understands "\r". This should fix a complaint from subversion, reported in PR 49249.