[logaling-commit] logaling/logalimacs [master] Fix a typo ([^a-z] -> [^a-zA-Z])

Back to archive index

null+****@clear***** null+****@clear*****
Mon Jul 16 00:51:40 JST 2012


Yuta Yamada	2012-07-16 00:51:40 +0900 (Mon, 16 Jul 2012)

  New Revision: 2eca3ea21f27e2f49a3eb89cf32d46b8cf81dd24
  https://github.com/logaling/logalimacs/commit/2eca3ea21f27e2f49a3eb89cf32d46b8cf81dd24

  Log:
    Fix a typo ([^a-z] -> [^a-zA-Z])

  Modified files:
    logalimacs.el

  Modified: logalimacs.el (+1 -1)
===================================================================
--- logalimacs.el    2012-07-16 00:07:46 +0900 (2a44bdd)
+++ logalimacs.el    2012-07-16 00:51:40 +0900 (a319082)
@@ -681,7 +681,7 @@ Otherwise passed character inside region."
     (keyboard-quit)))
 
 (defun loga-one-word-p (search-word)
-  (let ((english-only-p (not (string-match "[^a-z]" search-word)))
+  (let ((english-only-p (not (string-match "[^a-zA-Z]" search-word)))
         (spaceless-p    (not (string-match " "      search-word))))
     (and
      english-only-p
-------------- next part --------------
An HTML attachment was scrubbed...
下载 



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