[Groonga-commit] droonga/droonga-engine at 7e3be14 [master] Detect "head of the input" correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Sep 18 13:44:55 JST 2014


YUKI Hiroshi	2014-09-18 13:44:55 +0900 (Thu, 18 Sep 2014)

  New Revision: 7e3be143da114bf83d1dcffb89670af071d9444f
  https://github.com/droonga/droonga-engine/commit/7e3be143da114bf83d1dcffb89670af071d9444f

  Message:
    Detect "head of the input" correctly

  Modified files:
    bin/droonga-engine-configure

  Modified: bin/droonga-engine-configure (+2 -2)
===================================================================
--- bin/droonga-engine-configure    2014-09-18 13:44:29 +0900 (e167514)
+++ bin/droonga-engine-configure    2014-09-18 13:44:55 +0900 (2dc344b)
@@ -86,9 +86,9 @@ def confirmed?(message)
     print "#{message} (y/N): "
     response = gets
     case response
-      when /^y/i
+      when /\Ay/i
         return true
-      when /^n/i, /^$/
+      when /\An/i, /^$/
         return false
     end
   end
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index