Skip to content

Instantly share code, notes, and snippets.

@guehara
Last active October 3, 2015 08:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guehara/2426161 to your computer and use it in GitHub Desktop.
Save guehara/2426161 to your computer and use it in GitHub Desktop.
current-string-to.el でドットも delimiter に追加
--- current-string-to.el.orig 2015-01-14 15:01:56.000000000 +0900
+++ current-string-to.el 2015-01-14 15:04:33.000000000 +0900
@@ -65,11 +65,11 @@
(defvar current-string-to-delimiter-regexp-ascii
- "[\][\t\(\)\"\|\\ /`',;:<>{}「」=]"
+ "[\][\t\(\)\"\|\\ /`'\.,;:<>{}「」=]"
"A regular expressions to search ascii delimiters.")
(defvar current-string-to-delimiter-regexp-jp
- "[\][\t\(\)\"\|\\ /`',;:<>{}「」= -;‖|‘“-】<>≪≫─-╂]"
+ "[\][\t\(\)\"\|\\ /`'\.,;:<>{}「」= -;‖|‘“-】<>≪≫─-╂]"
"A regular expressions to search ASCII and Japanese delimiters.")
(defvar current-string-to-delimiter-regexp
ここのがベース【もしかしたら欲しい人がいるかもしれないプログラム】 http://www.kakura.jp/pg/#current-string-to.el
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment