2024年3月8日

正则表达式: Unicode 字符集

\uFFFF where FFFF are 4 hexadecimal digits Unicode code point \u{FFFF} where FFFF are 1 to 4 hexadecimal digits Unicode code point \xFF where FF are 2 hexadecimal digits Hexadecimal escape \xFFFF where FFFF are 4 hexadecimal digits Unicode code point \x{FFFF} where FFFF are 1 to 4 hexadecimal digits Unicode code point \X Unicode grapheme \pL where L is a Unicode category Unicode category \PL where L is a Unicode category Unicode…
2024年3月8日

正则表达式: EmEditor 正则表达式引擎 Boost.Regex / Onigmo

EmEditor 正则表达式引擎 EmEditor版本 15.7除了之前默认的 Boost.Regex 正则表达式引擎之外,你还能把 Onigmo 选择为正则表达式引擎。 在[工具]→[自定义]→[搜索]的“默认正则表达式引擎”中选择默认引擎。另外,在执行搜索/替换时,还可以通过按“搜索”/“替换”对话框中的“高级”按钮进行切换。 如果你把 Onigmo 选为正则表达式引擎,你能用更多字符类型,例如 \p{Han}, \p{Hangul}, \p{Hebrew} 等。 要查找更多有关 Onigmo 正则表达式语法,请查看 https://github.com/k-takata/Onigmo/blob/master/doc/RE 以及 Unicode 属性 https://github.com/k-takata/Onigmo/blob/master/doc/…