# EmEditor v15.7.0 发布!

今天，我们发布了 EmEditor v15.7.0。\
 从 v15.6.1 的更新包括：

## 一般新增功能

- 除了之前默认的 **Boost.Regex** 正则表达式引擎之外，你还能把 **Onigmo** 选择为正则表达式引擎。 如果你把 **Onigmo** 选为正则表达式引擎，你能用更多字符类型，例如 **\\p{Han}**，**\\p{Hangul}**，<strong>\\p{Hebrew}</strong>等。要查找更多有关 **Onigmo** 正则表达式语法，请查看 [https://github.com/k-takata/Onigmo/blob/master/doc/RE](https://github.com/k-takata/Onigmo/blob/master/doc/RE) 以及 Unicode 属性 [https://github.com/k-takata/Onigmo/blob/master/doc/UnicodeProps.txt](https://github.com/k-takata/Onigmo/blob/master/doc/UnicodeProps.txt)。
- 这个版本让你能分开搜索并替换 CR 和 LF。
- 在禁用**区别 CR 和 LF** 选项时，如果你试着搜索包含 \\r (CR) 的字符串，会出现<em>“搜索字符串包含 CR。你想要启用区别 CR 和 LF 选项吗？”</em>提示消息。
- 如果一个文档的最后一行是空的，正则表达式不再匹配最后一行。

## 新增选项

- 添加了**默认正则表达式引擎**下拉列表框到**自定义**对话框中的[**搜索**选项卡](https://www.emeditor.org/zh-cn/dlg/customize/search/index.html)上。
- 在**查找/替换**对话框中<strong>「自定义」</strong>按钮被<strong>「高级」</strong>按钮取代。在[**高级**对话框](https://www.emeditor.org/zh-cn/dlg/advanced/index.html)中，现在包括了更多搜索选项。
- 添加了<strong>「高级」</strong> 按钮到查找工具栏上。
- 添加了**显示启动窗口当在新文档中按向下键时**复选框到[**自定义启动窗口**对话框](https://www.emeditor.org/zh-cn/dlg/customize_start/index.html)中。

## 新增命令

- **[高级（查找工具栏）](https://www.emeditor.org/zh-cn/cmd/search/findbar_advanced.html)**

## 插件新增功能

- 添加了**全部折叠**以及**全部展开**命令到**项目**插件**符号**列表中的上下文菜单上。

## 插件 API 新增功能

- 添加了 [ **EE_FIND_REPLACE** 消息](https://www.emeditor.org/zh-cn/plugin/message/ee_find_replace.html)。
- 添加了 [ **Editor_FindReplace**](https://www.emeditor.org/zh-cn/plugin/macro/editor_findreplace.html)，[**Editor_FindInFiles**](https://www.emeditor.org/zh-cn/plugin/macro/editor_findinfiles.html)，和 [**Editor_ReplaceInFiles**](https://www.emeditor.org/zh-cn/plugin/macro/editor_replaceinfiles.html) 内联函数。
- 添加了 [ **FIND_REPLACE_INFO**](https://www.emeditor.org/zh-cn/plugin/structure/find_replace_info.html)，**[GREP_INFO_EX](https://www.emeditor.org/zh-cn/plugin/structure/grep_info_ex.html)**，**[MATCH_REGEX_INFO_EX](https://www.emeditor.org/zh-cn/plugin/structure/match_regex_info_ex.html)**，和 **[FIND_REGEX_INFO_EX](https://www.emeditor.org/zh-cn/plugin/structure/find_regex_info_ex.html)** 结构。

## 宏的新增功能

- 添加了 **eeFindMatchDotNL** 标志到 **nFlags** 参数，还有 **eeExFindRegexBoost**，**eeExFindRegexOnigmo** 和 **eeExFindSeparateCRLF** 标志被添加到 **Selection** 对象的 [**Find** 方法](https://www.emeditor.org/zh-cn/macro/selection/selection_find.html)和 [**Replace** 方法](https://www.emeditor.org/zh-cn/macro/selection/selection_replace.html)的 **nExFlags** 参数中。

## 修复 Bug

- 修复了 v15.6.x 中配置属性**显示**选项卡上样本框不更新的 bug。
- 修复了一些对话框不可见当选择 Windows 经典或高对比主题时。

## 感谢

我们要感谢 K. Kosako (Oniguruma) 和 K. Takata (Onigmo)，开发了如此方便的正则表达式引擎。

[详细信息请请参 EmEditor v15.7 新增特性。](/text-editor-features/history/new-in-version-15-7/)

要更新到最新版本，请到**帮助**中选择**检查更新**，或者您可以直接到[下载页面](/download/)下载最新版本。

为了减小安装器的大小，Help 文件现在不包括在安装器中。你能用浏览器查看 Web 帮助文件，或者单独下载帮助文件。如果你要下载本地帮助文件，请到[下载帮助页面](/download-help/)下载。

如果您有永久授权或您的更新维护计划在 2015年12月16日之后仍有效。您可以到 [Emurasoft 客户中心](https://support.emeditor.com/)更新/重发注册码页面找到最新版本的注册码。v15 的注册码与 v14 的注册码相同。

请同样参考: [政策变更公告–关于软件更新维护计划的声明。](/emeditor-core/announcing-our-policy-change-to-rapid-development-and-introducing-a-maintenance-plan/)

感谢您使用 EmEditor！
