[Groonga-commit] groonga/groonga at f26fd72 [master] doc grn_expr: add missing "\" escape exception

Back to archive index

Kouhei Sutou null+****@clear*****
Wed May 7 18:59:21 JST 2014


Kouhei Sutou	2014-05-07 18:59:21 +0900 (Wed, 07 May 2014)

  New Revision: f26fd7283127dd2d5a9b00d2e1c905e73205761a
  https://github.com/groonga/groonga/commit/f26fd7283127dd2d5a9b00d2e1c905e73205761a

  Message:
    doc grn_expr: add missing "\" escape exception
    
    Reported by Yappo. Thanks!!!

  Modified files:
    doc/source/reference/grn_expr/query_syntax.txt

  Modified: doc/source/reference/grn_expr/query_syntax.txt (+8 -5)
===================================================================
--- doc/source/reference/grn_expr/query_syntax.txt    2014-05-06 18:29:12 +0900 (f632189)
+++ doc/source/reference/grn_expr/query_syntax.txt    2014-05-07 18:59:21 +0900 (96a64d5)
@@ -87,11 +87,14 @@ Here is a special character list:
   * ``)`` (escaped as ``\)``)
   * ``\`` (escaped as ``\\``)
 
-You can use quote instead of escape. Quote syntax is ``"..."`` or
-``'...'``. You need escape ``"`` as ``\"`` in ``"..."`` quote syntax.
-You need escape ``'`` as ``\'`` in ``'...'`` quote syntax. For
-example, ``Alice's brother (Bob)`` can be quoted ``"Alice's brother
-(Bob)"`` or ``'Alice\'s brother (Bob)'``.
+You can use quote instead of escape special characters except ``\\``
+(backslash). You need to use backslash for escaping backslash like
+``\\\\`` in quote.
+
+Quote syntax is ``"..."`` or ``'...'``. You need escape ``"`` as
+``\"`` in ``"..."`` quote syntax.  You need escape ``'`` as ``\'`` in
+``'...'`` quote syntax. For example, ``Alice's brother (Bob)`` can be
+quoted ``"Alice's brother (Bob)"`` or ``'Alice\'s brother (Bob)'``.
 
 .. note::
 
-------------- next part --------------
HTML����������������������������...
下载 



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