-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignoring numbers in HI removal? #9052
Comments
This is not related with remove HI, the time is not well formatted! Added ignore logic will allow more buggy text. Maybe a rule need to be added where (maybe in FCE) to handle this case. |
I was thinking along the lines of ignoring anything after the first ":" (line 214) and also ignoring cases where there are only numbers before the character like on line 218. |
Renamed and enhanced the regex to better match numeric values separated by punctuation with or without spaces. This change improves the text processing accuracy by adjusting how separators are recognized between numbers. The updated regex should cover more use cases in text parsing scenarios. Fixes SubtitleEdit#9052 Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Just opened a pull-request with the fixes. If merge happen you will still need to run the |
Is it possible to make SE ignore two corner cases like the ones highlighted in this example?
The text was updated successfully, but these errors were encountered: