diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-03 05:59:08 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-03 05:59:08 +0000 |
commit | 0ae90522a684de90e38b45fa8e5d027b04049861 (patch) | |
tree | 67dae03915baf9dbfd840003dc0134b3d4e6a497 /ext | |
parent | d55aa2bf6757d494f2c2da42a0be13e34de7da0c (diff) | |
download | ruby-0ae90522a684de90e38b45fa8e5d027b04049861.tar.gz |
* ext/date/date_parse.c (parse_eu): should capture apostrophe too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/date/date_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/date_parse.c b/ext/date/date_parse.c index f431252e9a..1664452cb9 100644 --- a/ext/date/date_parse.c +++ b/ext/date/date_parse.c @@ -802,7 +802,7 @@ parse_eu(VALUE str, VALUE hash) FPW_COM FPT_COM #endif #ifndef TIGHT_PARSER - "'?(\\d+)[^-\\d\\s]*" + "('?\\d+)[^-\\d\\s]*" #else "(\\d+)(?:(?:st|nd|rd|th)\\b)?" #endif |