在以下字符串中如何说该行以数字开头或以数字或多个结尾
line="He is a German called Mayer12345"
re.compile(r".*\d+\w$")
line="12He is a German called Mayer"
re.compile(r"^\d+\w .*")
在以下字符串中如何说该行以数字开头或以数字或多个结尾
line="He is a German called Mayer12345"
re.compile(r".*\d+\w$")
line="12He is a German called Mayer"
re.compile(r"^\d+\w .*")