Sublime Text 3 使用的正则表达式类型? [英] Type of regex used by Sublime Text 3?

查看:26
本文介绍了Sublime Text 3 使用的正则表达式类型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Sublime Text 3 使用什么类型的正则表达式?位置?Posix 扩展?

What type of Regex is Sublime Text 3 using? Posix? Posix Extended?

推荐答案

Sublime 的搜索和搜索和替换功能,以及片段, Boost 的 (与 Perl 兼容的正则表达式)engine,而语法高亮语言定义(.tmLanguage.sublime-syntax 文件)使用 引擎,Ruby 也使用.

Sublime's Search and Search and Replace functions, along with snippets, are powered by Boost's pcre (Perl-Compatible Regular Expressions) engine, while the syntax highlighting language definitions (.tmLanguage or .sublime-syntax files) use the oniguruma engine, which Ruby also uses.

这篇关于Sublime Text 3 使用的正则表达式类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆