I don't like to type anymore that needed. Sometimes to avoid typing something
I end up typeing more or take more time finguring out how to avoid typing it!
Today I vaguely remembered some new "\" shortcuts for searching
( aka \notations or regex meta commands or characters )
I ended up compiling the following cribsheet of them including two
groups of new ones. Have I missed any?
-----------------------------
TSE "\" notation for search
aka regex meta commands or characters:
In help: Jan 2022 ( with 4.50.rc28 - Jul 2024)
\a alert (beep) ^G ASCII 7/$07
\b backspace ^H ASCII 8/$08
\c set cursor
\f formfeed ^L ASCII 12/$0c
\n line feed ^J ASCII 10/$0a
\r return ^M ASCII 13/$0d
\t tab ^I ASCII 9/$09
\v vertical tab ^K ASCII 11/$0b
\xnn hex byte in search [ numbers: 0x1abc ]
\dnnn decimal byte in a search
\onnn octal byte in a search
New with May 24 2023 v4.50 rc 1
\d digit [0-9]
\D not digit [~0-9]
\s FF,LF,CR or tab [ \f\r\n\t]
\S not FF,LF,CR or tab [~ \f\r\n\t]
\w alpha numeric [a-zA-z0-9_]
\W not alpha numeric [~a-zA-z0-9_]
New with 29 Jul 2023 v4.50 rc7
\h hex [0-9A-Fa-f]
\H not hex [~0-9A-Fa-f]
\p printable [\x20-\x7E]
\P not printable [~\x20-\x7E]
Note that "\" also functions as an "escape" char. See Help.
-----------------------------
Fred
--
Fred H. Olson Minneapolis,MN 55411 USA (near north Mpls)
Email: fholson at
cohousing.org 612-588-9532
My Link Pg:
http://fholson.cohousing.org