fix for regex in glossary parsing