Use :function /{pattern} if possible