mirror of https://github.com/morpheus65535/bazarr
Fixed some false positive for HI detection
This commit is contained in:
parent
6d5c5a88bd
commit
75e603b508
|
@ -21,7 +21,7 @@ from charamel import Detector
|
|||
gc.enable()
|
||||
|
||||
global hi_regex
|
||||
hi_regex = re.compile(r'[*¶♫♪].{3,}[*¶♫♪]|[\[\(\{].{3,}[\]\)\}]')
|
||||
hi_regex = re.compile(r'[*¶♫♪].{3,}[*¶♫♪]|[\[\(\{].{3,}[\]\)\}](?<!{\\an\d})')
|
||||
|
||||
|
||||
def store_subtitles(original_path, reversed_path):
|
||||
|
|
Loading…
Reference in New Issue