[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24378: [PATCH 2/6] Remove inaccurate comment in regex.c
From: |
Michal Nazarewicz |
Subject: |
bug#24378: [PATCH 2/6] Remove inaccurate comment in regex.c |
Date: |
Tue, 6 Sep 2016 15:31:30 +0200 |
* src/regex.c (regex_compile): Remove comment indicating that wctype of
some character classes may be negative. All wctypes are in fact
non-negative.
---
src/regex.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/regex.c b/src/regex.c
index c191f24..c808398 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -2879,8 +2879,7 @@ regex_compile (const_re_char *pattern, size_t size,
/* Most character classes in a multibyte match just set
a flag. Exceptions are is_blank, is_digit, is_cntrl, and
is_xdigit, since they can only match ASCII characters.
- We don't need to handle them for multibyte. They are
- distinguished by a negative wctype. */
+ We don't need to handle them for multibyte. */
/* Setup the gl_state object to its buffer-defined value.
This hardcodes the buffer-global syntax-table for ASCII
--
2.8.0.rc3.226.g39d4020
bug#24378: [PATCH 5/6] Don’t allocate char-table’s extra slots in regexp-out-charset, Michal Nazarewicz, 2016/09/06
bug#24378: [PATCH 3/6] Replace decimalnump with alphanumericp, Michal Nazarewicz, 2016/09/06
bug#24378: [PATCH 2/6] Remove inaccurate comment in regex.c,
Michal Nazarewicz <=
bug#24378: [PATCH 4/6] Remove dead loop iterations in regex.c, Michal Nazarewicz, 2016/09/06
bug#24378: [PATCH 1/6] Don’t use FETCH_MULTIBYTE_CHAR when advancing index, Eli Zaretskii, 2016/09/06
bug#24378: [PATCH] Remove obsolete comment from FETCH_MULTIBYTE_CHAR documentation, Michal Nazarewicz, 2016/09/06
bug#24378: [PATCH 0/6] Small fixes and improvements, Michal Nazarewicz, 2016/09/09