Regex class, Fixes #79