Change prompt pattern. Change arm/regexp-of-string to arm/first-match.
Add arm/snippet-hook.