publish for regexp