Python regex character classes make it easier to identify specific patterns inside strings without writing unnecessarily long ...
That is pretty self-explanatory except perhaps for "_", which is a wildcard that will match anything. The idea is that each case will be tried in the order specified, the first to match will be ...