A tool for creating scanners (text pattern recognizers)