finish class Regex