[前][次][番号順一覧][スレッド一覧]

ruby-changes:55191

From: svn <ko1@a...>
Date: Mon, 1 Apr 2019 14:21:42 +0900 (JST)
Subject: [ruby-changes:55191] svn:r67398 (trunk): * expand tabs.

svn	2019-04-01 14:21:39 +0900 (Mon, 01 Apr 2019)

  New Revision: 67398

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67398

  Log:
    * expand tabs.

  Modified files:
    trunk/ext/date/date_parse.c
Index: ext/date/date_parse.c
===================================================================
--- ext/date/date_parse.c	(revision 67397)
+++ ext/date/date_parse.c	(revision 67398)
@@ -1254,11 +1254,11 @@ parse_jis(VALUE str, VALUE hash) https://github.com/ruby/ruby/blob/trunk/ext/date/date_parse.c#L1254
 {
     static const char pat_source[] =
 #ifndef TIGHT_PARSER
-	"\\b([" JAPANESE_ERA_INITIALS "])(\\d+)\\.(\\d+)\\.(\\d+)"
+        "\\b([" JAPANESE_ERA_INITIALS "])(\\d+)\\.(\\d+)\\.(\\d+)"
 #else
 	BOS
 	FPW_COM FPT_COM
-	"([" JAPANESE_ERA_INITIALS "])(\\d+)\\.(\\d+)\\.(\\d+)"
+        "([" JAPANESE_ERA_INITIALS "])(\\d+)\\.(\\d+)\\.(\\d+)"
 	TEE_FPT COM_FPW
 	EOS
 #endif
@@ -2981,7 +2981,7 @@ static int https://github.com/ruby/ruby/blob/trunk/ext/date/date_parse.c#L2981
 jisx0301(VALUE str, VALUE hash)
 {
     static const char pat_source[] =
-	"\\A\\s*([" JAPANESE_ERA_INITIALS "])?(\\d{2})\\.(\\d{2})\\.(\\d{2})"
+        "\\A\\s*([" JAPANESE_ERA_INITIALS "])?(\\d{2})\\.(\\d{2})\\.(\\d{2})"
 	"(?:t"
 	"(?:(\\d{2}):(\\d{2})(?::(\\d{2})(?:[,.](\\d*))?)?"
 	"(z|[-+]\\d{2}(?::?\\d{2})?)?)?)?\\s*\\z";

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]