Allow "." as the decimal separator in SRT files as well as ",".

This commit is contained in:
Moritz Bunkus 2007-03-16 07:28:40 +00:00
parent d810313cd2
commit 4070ad45ee
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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