Kouhei Sutou
null+****@clear*****
Wed May 7 19:12:33 JST 2014
Kouhei Sutou 2014-05-07 19:12:33 +0900 (Wed, 07 May 2014) New Revision: 31c337cb505315dbe6ddeb9a858d5e509cf3c092 https://github.com/groonga/groonga.org/commit/31c337cb505315dbe6ddeb9a858d5e509cf3c092 Message: Update document Modified files: docs/reference/grn_expr/query_syntax.html docs/sources/reference/grn_expr/query_syntax.txt ja/docs/reference/grn_expr/query_syntax.html ja/docs/sources/reference/grn_expr/query_syntax.txt Modified: docs/reference/grn_expr/query_syntax.html (+2 -2) =================================================================== --- docs/reference/grn_expr/query_syntax.html 2014-05-07 19:09:33 +0900 (18d4e07) +++ docs/reference/grn_expr/query_syntax.html 2014-05-07 19:12:33 +0900 (0f594be) @@ -165,9 +165,9 @@ in ASCII and <tt class="docutils literal"><span class="pre">[backslash]</span></ <li><tt class="docutils literal"><span class="pre">\</span></tt> (escaped as <tt class="docutils literal"><span class="pre">\\</span></tt>)</li> </ul> </div></blockquote> -<p>You can use quote instead of escape special characters except <tt class="docutils literal"><span class="pre">\\</span></tt> +<p>You can use quote instead of escape special characters except <tt class="docutils literal"><span class="pre">\</span></tt> (backslash). You need to use backslash for escaping backslash like -<tt class="docutils literal"><span class="pre">\\\\</span></tt> in quote.</p> +<tt class="docutils literal"><span class="pre">\\</span></tt> in quote.</p> <p>Quote syntax is <tt class="docutils literal"><span class="pre">"..."</span></tt> or <tt class="docutils literal"><span class="pre">'...'</span></tt>. You need escape <tt class="docutils literal"><span class="pre">"</span></tt> as <tt class="docutils literal"><span class="pre">\"</span></tt> in <tt class="docutils literal"><span class="pre">"..."</span></tt> quote syntax. You need escape <tt class="docutils literal"><span class="pre">'</span></tt> as <tt class="docutils literal"><span class="pre">\'</span></tt> in <tt class="docutils literal"><span class="pre">'...'</span></tt> quote syntax. For example, <tt class="docutils literal"><span class="pre">Alice's</span> <span class="pre">brother</span> <span class="pre">(Bob)</span></tt> can be Modified: docs/sources/reference/grn_expr/query_syntax.txt (+2 -2) =================================================================== --- docs/sources/reference/grn_expr/query_syntax.txt 2014-05-07 19:09:33 +0900 (96a64d5) +++ docs/sources/reference/grn_expr/query_syntax.txt 2014-05-07 19:12:33 +0900 (54de779) @@ -87,9 +87,9 @@ Here is a special character list: * ``)`` (escaped as ``\)``) * ``\`` (escaped as ``\\``) -You can use quote instead of escape special characters except ``\\`` +You can use quote instead of escape special characters except ``\`` (backslash). You need to use backslash for escaping backslash like -``\\\\`` in quote. +``\\`` in quote. Quote syntax is ``"..."`` or ``'...'``. You need escape ``"`` as ``\"`` in ``"..."`` quote syntax. You need escape ``'`` as ``\'`` in Modified: ja/docs/reference/grn_expr/query_syntax.html (+1 -1) =================================================================== --- ja/docs/reference/grn_expr/query_syntax.html 2014-05-07 19:09:33 +0900 (9374c3e) +++ ja/docs/reference/grn_expr/query_syntax.html 2014-05-07 19:12:33 +0900 (7b06840) @@ -151,7 +151,7 @@ load --table Entries </li> </ul> </div></blockquote> -<p><tt class="docutils literal"><span class="pre">\\</span></tt> (バックスラッシュ)以外はエスケープする代わりにクォートすることもできます。クォート中でバックスラッシュをエスケープするときは <tt class="docutils literal"><span class="pre">\\\\</span></tt> というようにバックスラッシュを使います。</p> +<p><tt class="docutils literal"><span class="pre">\</span></tt> (バックスラッシュ)以外はエスケープする代わりにクォートすることもできます。クォート中でバックスラッシュをエスケープするときは <tt class="docutils literal"><span class="pre">\\</span></tt> というようにバックスラッシュを使います。</p> <p>クォート構文は <tt class="docutils literal"><span class="pre">"..."</span></tt> または <tt class="docutils literal"><span class="pre">'...'</span></tt> です。 <tt class="docutils literal"><span class="pre">"..."</span></tt> クォート構文中では <tt class="docutils literal"><span class="pre">"</span></tt> を <tt class="docutils literal"><span class="pre">\"</span></tt> にエスケープする必要があります。 <tt class="docutils literal"><span class="pre">'...'</span></tt> クォート構文中では <tt class="docutils literal"><span class="pre">'</span></tt> を <tt class="docutils literal"><span class="pre">\'</span></tt> にエスケープする必要があります。例えば、 <tt class="docutils literal"><span class="pre">Alice's</span> <span class="pre">brother</span> <span class="pre">(Bob)</span></tt> は <tt class="docutils literal"><span class="pre">"Alice's</span> <span class="pre">brother</span > <span class="pre">(Bob)"</span></tt> あるいは <tt class="docutils literal"><span class="pre">'Alice\'s</span> <span class="pre">brother</span> <span class="pre">(Bob)'</span></tt> とクォートします。</p> <div class="admonition note"> <p class="first admonition-title">ノート</p> Modified: ja/docs/sources/reference/grn_expr/query_syntax.txt (+2 -2) =================================================================== --- ja/docs/sources/reference/grn_expr/query_syntax.txt 2014-05-07 19:09:33 +0900 (96a64d5) +++ ja/docs/sources/reference/grn_expr/query_syntax.txt 2014-05-07 19:12:33 +0900 (54de779) @@ -87,9 +87,9 @@ Here is a special character list: * ``)`` (escaped as ``\)``) * ``\`` (escaped as ``\\``) -You can use quote instead of escape special characters except ``\\`` +You can use quote instead of escape special characters except ``\`` (backslash). You need to use backslash for escaping backslash like -``\\\\`` in quote. +``\\`` in quote. Quote syntax is ``"..."`` or ``'...'``. You need escape ``"`` as ``\"`` in ``"..."`` quote syntax. You need escape ``'`` as ``\'`` in -------------- next part -------------- HTML����������������������������... ダウンロード