[logaling-commit] logaling/logalimacs at 5288041 [master] Fix: Use shell-quote-argument function to \p{...} style instead of \\p{...}

Back to archive index

Yuta Yamada null+****@clear*****
Wed Sep 18 02:35:37 JST 2013


Yuta Yamada	2013-09-18 02:35:37 +0900 (Wed, 18 Sep 2013)

  New Revision: 52880411c95304f0ee79f59b79d20a94f0fcbec4
  https://github.com/logaling/logalimacs/commit/52880411c95304f0ee79f59b79d20a94f0fcbec4

  Message:
    Fix: Use shell-quote-argument function to \p{...} style instead of \\p{...}

  Modified files:
    logalimacs.el

  Modified: logalimacs.el (+6 -5)
===================================================================
--- logalimacs.el    2013-09-18 02:31:56 +0900 (ced69f2)
+++ logalimacs.el    2013-09-18 02:35:37 +0900 (03bb489)
@@ -638,11 +638,12 @@ Because it escape character"
                  (katakana "\p{katakana}")
                  (kanji    "\p{Han}")
                  (japanese-regexp
-                  (case choice
-                    (:hiragana hiragana)
-                    (:katakana katakana)
-                    (:kanji    kanji)
-                    (t         (concat hiragana "|" katakana "|" kanji)))))
+                  (shell-quote-argument
+                   (case choice
+                     (:hiragana hiragana)
+                     (:katakana katakana)
+                     (:kanji    kanji)
+                     (t         (concat hiragana "|" katakana "|" kanji))))))
     (zerop
      (string-to-number
       (loga-do-ruby
-------------- next part --------------
An HTML attachment was scrubbed...
Download 



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