[Groonga-commit] groonga/fluent-plugin-droonga at 4278da5 [master] Use more meaningful name

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jun 19 17:03:13 JST 2013


Kouhei Sutou	2013-06-19 17:03:13 +0900 (Wed, 19 Jun 2013)

  New Revision: 4278da510c48b3b3773add694a3d32baf3e2ff6f
  https://github.com/groonga/fluent-plugin-droonga/commit/4278da510c48b3b3773add694a3d32baf3e2ff6f

  Message:
    Use more meaningful name
    
    $' ->
    $POSTMATCH

  Modified files:
    lib/droonga/plugin/handler_search.rb

  Modified: lib/droonga/plugin/handler_search.rb (+2 -1)
===================================================================
--- lib/droonga/plugin/handler_search.rb    2013-06-19 17:02:26 +0900 (6ea65b9)
+++ lib/droonga/plugin/handler_search.rb    2013-06-19 17:03:13 +0900 (08e9ae9)
@@ -15,6 +15,7 @@
 # License along with this library; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
+require "English"
 require "tsort"
 require "groonga"
 
@@ -185,7 +186,7 @@ module Droonga
       def parseOrderKeys(keys)
         keys.collect do |key|
           if key =~ /^-/
-            [$', :descending]
+            [$POSTMATCH, :descending]
           else
             [key, :ascending]
           end
-------------- next part --------------
HTML����������������������������...
Download 



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