match regex '[a-za-z][\\w-]*\\z' on string 'a\n',"re.match('[a-zA-Z][\\w-]*\\Z', 'A\n')"