diff options
| author | Chong Yidong | 2008-10-07 18:08:16 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-10-07 18:08:16 +0000 |
| commit | a469adf3e61bdead12a52dd3dce294a9fde37aef (patch) | |
| tree | 06fb59dfccdc4ed324291a4ae256458bab8de0bf | |
| parent | c1ffddfc861c87e113ea87616c649e467655e575 (diff) | |
| download | emacs-a469adf3e61bdead12a52dd3dce294a9fde37aef.tar.gz emacs-a469adf3e61bdead12a52dd3dce294a9fde37aef.zip | |
* rx-new.el (rx-constituents): Change `anything' to call
rx-anything. Change `not-wordchar' assignment to "\\W" from
"[^[:word:]]".
(rx-group-if): New function.
(rx-parent): New variable.
(rx-and, rx-or): Put shy groups only when necessary.
(rx-bracket): Remove.
(rx-anything): New function.
(rx-any-delete-from-range, rx-any-condense-range)
(rx-check-any-string): New functions.
(rx-check-any): Return result as a list. Don't convert chars to
strings. Don't prepend "\\" to "^". Don't search for close
bracket. Check char category string. Call rx-form instead of
rx-to-string.
(rx-any): Rebuid to complete the function.
(rx-check-not): Fix char category regexp pattern string. Call
rx-form instead of rx-to-string.
(rx-not): Call rx-form instead of rx-to-string. Convert "[^]" to
"[^^]". Call regexp-quote for one char string when not called from
rx-not. Add "\\w", and toggle to upcase. Add the case of
"\\[SCBW]" to toggle.
(rx-=, rx->=, rx -**, rx-repeat, rx-submatch): Call rx-form
instead of rx-to-string.
(rx-kleene): Call rx-form instead of rx-to-string. Call
rx-group-if to adjust putting of shy groups.
(rx-atomic-p): Make check more precisely.
(rx-eval, rx-greedy): Call rx-form instead of rx-to-string.
(rx-regexp): Call rx-group-if.
(rx-form): New function.
(rx-to-string): Call rx-form, rx-group-if. Refine definition of
NO-GROUP.
| -rw-r--r-- | lisp/ChangeLog | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3c1b174f6ed..7619ef27c7a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,37 @@ | |||
| 1 | 2008-10-07 Shigeru Fukaya <shigeru.fukaya@gmail.com> | ||
| 2 | |||
| 3 | * rx-new.el (rx-constituents): Change `anything' to call | ||
| 4 | rx-anything. Change `not-wordchar' assignment to "\\W" from | ||
| 5 | "[^[:word:]]". | ||
| 6 | (rx-group-if): New function. | ||
| 7 | (rx-parent): New variable. | ||
| 8 | (rx-and, rx-or): Put shy groups only when necessary. | ||
| 9 | (rx-bracket): Remove. | ||
| 10 | (rx-anything): New function. | ||
| 11 | (rx-any-delete-from-range, rx-any-condense-range) | ||
| 12 | (rx-check-any-string): New functions. | ||
| 13 | (rx-check-any): Return result as a list. Don't convert chars to | ||
| 14 | strings. Don't prepend "\\" to "^". Don't search for close | ||
| 15 | bracket. Check char category string. Call rx-form instead of | ||
| 16 | rx-to-string. | ||
| 17 | (rx-any): Rebuid to complete the function. | ||
| 18 | (rx-check-not): Fix char category regexp pattern string. Call | ||
| 19 | rx-form instead of rx-to-string. | ||
| 20 | (rx-not): Call rx-form instead of rx-to-string. Convert "[^]" to | ||
| 21 | "[^^]". Call regexp-quote for one char string when not called from | ||
| 22 | rx-not. Add "\\w", and toggle to upcase. Add the case of | ||
| 23 | "\\[SCBW]" to toggle. | ||
| 24 | (rx-=, rx->=, rx -**, rx-repeat, rx-submatch): Call rx-form | ||
| 25 | instead of rx-to-string. | ||
| 26 | (rx-kleene): Call rx-form instead of rx-to-string. Call | ||
| 27 | rx-group-if to adjust putting of shy groups. | ||
| 28 | (rx-atomic-p): Make check more precisely. | ||
| 29 | (rx-eval, rx-greedy): Call rx-form instead of rx-to-string. | ||
| 30 | (rx-regexp): Call rx-group-if. | ||
| 31 | (rx-form): New function. | ||
| 32 | (rx-to-string): Call rx-form, rx-group-if. Refine definition of | ||
| 33 | NO-GROUP. | ||
| 34 | |||
| 1 | 2008-10-07 T. V. Raman <raman@users.sourceforge.net> | 35 | 2008-10-07 T. V. Raman <raman@users.sourceforge.net> |
| 2 | 36 | ||
| 3 | * json.el (json-advance): Use forward-char. | 37 | * json.el (json-advance): Use forward-char. |