|
141 | 141 | "\\cA" regexp-escape |
142 | 142 | "\\c1" !regexp-escape |
143 | 143 | "\\c" !regexp-escape |
144 | | - ;; Additional escape sequences not mentioned in the official documenation. |
145 | | - "\\." regexp-escape |
146 | | - "\\*" regexp-escape |
147 | | - "\\?" regexp-escape |
148 | | - "\\{" regexp-escape |
149 | | - "\\}" regexp-escape |
150 | | - "\\[" regexp-escape |
151 | | - "\\]" regexp-escape |
152 | | - "\\(" regexp-escape |
153 | | - "\\)" regexp-escape |
154 | 144 |
|
155 | 145 | ;;;; Character classes |
156 | 146 |
|
|
213 | 203 | ;;;; java.lang.Character classes (simple java character type) |
214 | 204 |
|
215 | 205 | ;; \p{javaLowerCase} Equivalent to java.lang.Character.isLowerCase() |
216 | | - "\\p{javaLowerCase}" regexp-posix-char-class |
| 206 | + "\\p{javaLowerCase}" regexp-java-char-class |
217 | 207 | ;; \p{javaUpperCase} Equivalent to java.lang.Character.isUpperCase() |
218 | | - "\\p{javaUpperCase}" regexp-posix-char-class |
| 208 | + "\\p{javaUpperCase}" regexp-java-char-class |
219 | 209 | ;; \p{javaWhitespace} Equivalent to java.lang.Character.isWhitespace() |
220 | | - "\\p{javaWhitespace}" regexp-posix-char-class |
| 210 | + "\\p{javaWhitespace}" regexp-java-char-class |
221 | 211 | ;; \p{javaMirrored} Equivalent to java.lang.Character.isMirrored() |
222 | | - "\\p{javaMirrored}" regexp-posix-char-class |
| 212 | + "\\p{javaMirrored}" regexp-java-char-class |
223 | 213 |
|
224 | 214 | ;;;; Classes for Unicode scripts, blocks, categories and binary properties |
225 | 215 |
|
226 | 216 | ;; \p{IsLatin} A Latin script character (script) |
227 | | - "\\p{IsLatin}" regexp-posix-char-class |
| 217 | + "\\p{IsLatin}" regexp-unicode-char-class |
228 | 218 | ;; \p{InGreek} A character in the Greek block (block) |
229 | | - "\\p{InGreek}" regexp-posix-char-class |
| 219 | + "\\p{InGreek}" regexp-unicode-char-class |
230 | 220 | ;; \p{Lu} An uppercase letter (category) |
231 | | - "\\p{Lu}" regexp-posix-char-class |
| 221 | + "\\p{Lu}" regexp-unicode-char-class |
232 | 222 | ;; \p{IsAlphabetic} An alphabetic character (binary property) |
233 | | - "\\p{IsAlphabetic}" regexp-posix-char-class |
| 223 | + "\\p{IsAlphabetic}" regexp-unicode-char-class |
234 | 224 | ;; \p{Sc} A currency symbol |
235 | | - "\\p{Sc}" regexp-posix-char-class |
| 225 | + "\\p{Sc}" regexp-unicode-char-class |
236 | 226 | ;; \P{InGreek} Any character except one in the Greek block (negation) |
237 | | - "\\P{InGreek}" regexp-posix-char-class |
| 227 | + "\\P{InGreek}" regexp-unicode-char-class |
238 | 228 | ;; [\p{L}&&[^\p{Lu}]] Any letter except an uppercase letter (subtraction) |
239 | 229 |
|
240 | 230 | ;;;; Invalid classes |
|
0 commit comments