removed CompiledRegexp, changed a lot of the return values, and modified char class