1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 14:30:50 -08:00

; * doc/lispref/searching.texi (Char Classes): Add speedup advice.

This commit is contained in:
Eli Zaretskii 2025-05-29 19:02:13 +03:00
parent 4507b6a9c7
commit 8881dca81c

View file

@ -616,7 +616,10 @@ This matches horizontal whitespace, as defined by Annex C of the
Unicode Technical Standard #18. In particular, it matches spaces, Unicode Technical Standard #18. In particular, it matches spaces,
tabs, and other characters whose Unicode @samp{general-category} tabs, and other characters whose Unicode @samp{general-category}
property (@pxref{Character Properties}) indicates they are spacing property (@pxref{Character Properties}) indicates they are spacing
separators. separators. (If you only need to look for ASCII whitespace characters,
we suggest using an explicit set of character alternatives, such as
@w{@samp{[ \t]}}, instead, as it will be faster than
@code{[[:blank:]]}.)
@item [:cntrl:] @item [:cntrl:]
This matches any character whose code is in the range 0--31. This matches any character whose code is in the range 0--31.
@item [:digit:] @item [:digit:]