Commit 7b4d7fe2 authored by Jan Kiene's avatar Jan Kiene
Browse files

fix regex pattern to prevent incorrect partial matches

parent 46037ef0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1296,6 +1296,7 @@ IVAS_ENC_FORMATS = {
    "mc": "Multichannel",
    "stereo_dmx_evs": "Stereo DMX EVS",
}
# NOTE: the blanks at start and end are important to prevent e.g. "-ism_masa" matching on "-ism" only
PATTERN_IVAS_ENC_FORMAT = re.compile(r"-( " + r"|".join(IVAS_ENC_FORMATS.keys()) + ") ")