diff options
-rw-r--r-- | ext/date/date_parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/date/date_parse.c b/ext/date/date_parse.c index 91e294e4aa..0e7067f4d8 100644 --- a/ext/date/date_parse.c +++ b/ext/date/date_parse.c @@ -922,8 +922,8 @@ parse_us(VALUE str, VALUE hash) COM_FPT #endif "(?:" - "\\s*,?" - "\\s*" + "\\s*+,?" + "\\s*+" #ifndef TIGHT_PARSER "(c(?:e|\\.e\\.)|b(?:ce|\\.c\\.e\\.)|a(?:d|\\.d\\.)|b(?:c|\\.c\\.))?" "\\s*" |