fix bug in time format regex

This commit is contained in:
Brandon Lewis 2010-08-05 17:50:48 +02:00 committed by Edward Hervey
parent c8d243b931
commit 6533e038c9

View file

@ -447,7 +447,7 @@ check_time (const gchar * time)
if (!compiled) {
compiled = TRUE;
regcomp (&re, "^[0-9][0-9]:[0-5][0-9]:[0-5][0-9](.[0-9]+)?$",
regcomp (&re, "^[0-9][0-9]:[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?$",
REG_EXTENDED | REG_NOSUB);
}