mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-04 09:15:05 +00:00
Allow "." as the decimal separator in SRT files as well as ",".
This commit is contained in:
parent
d810313cd2
commit
4070ad45ee
@ -1,3 +1,8 @@
|
||||
2007-03-16 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvmerge: enhancement: The SRT reader allows "." as the decimal
|
||||
separator as well as ",".
|
||||
|
||||
2007-03-12 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvmerge: bug fix: Fixed a problem with concatenating more than
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
#define RE_TIMECODE "(\\d{1,2}):(\\d{1,2}):(\\d{1,2}),(\\d+)?"
|
||||
#define RE_TIMECODE "(\\d{1,2}):(\\d{1,2}):(\\d{1,2})[,\\.](\\d+)?"
|
||||
#define RE_TIMECODE_LINE "^" RE_TIMECODE "\\s+-+>\\s+" RE_TIMECODE "\\s*"
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user