fix the regex creator in snowball