• *: zero or more

  • +: one or more

  • ?: zero or one

parse_deg(xs)