I want to parse chord names using regular expressions in python. The following code matches only chords like G#m
chord_regex = "(?P<chord>[A-G])(?P<accidental>#|b)?(?P<additional>m?)"
How am I able to also match chords with the shape Gm#? Can the above regex be altered to also match these types of chords?