From: jarosluv Date: Wed, 16 Oct 2013 10:53:21 +0000 (+0400) Subject: Modified regular expressions for support wrapping in tags. X-Git-Tag: 2.4.0~4^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bcf8d1e9b4d9e3d184e1205cd8673000e4da3cb;p=thirdparty%2Fmoment.git Modified regular expressions for support wrapping in tags. --- diff --git a/lang/ru.js b/lang/ru.js index e8d589007..675b8782c 100644 --- a/lang/ru.js +++ b/lang/ru.js @@ -39,7 +39,7 @@ 'accusative': 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_') }, - nounCase = (/D[oD]? *MMMM?/).test(format) ? + nounCase = (/D[oD]?.*MMMM?/).test(format) ? 'accusative' : 'nominative'; @@ -52,7 +52,7 @@ 'accusative': 'янв_фев_мар_апр_мая_июня_июля_авг_сен_окт_ноя_дек'.split('_') }, - nounCase = (/D[oD]? *MMMM?/).test(format) ? + nounCase = (/D[oD]?.*MMMM?/).test(format) ? 'accusative' : 'nominative';