publish: remove escaped in regex

generated from commit c06f18c441a4514c88bfc5c1bf235f8ec949d807