强烈推荐EditPlus 3.21

标签: , ,

今天用EditPlus的时候点了一下Check Last Version菜单,发现已经有3.21版本了,而我的还是3.20。看了一下官网的RSS,发现3.21是2010年12月17日正式发布的,已经一个多月了,看来以后得订阅一下。

当然,软件并不总是越新的版本越好,不能盲目的升级。于是浏览了一下what’s new页面,看看新增了什么功能:

<feature>
* ‘Use TR1 regular expression’ option (‘Preferences’->’General’).
* Customizable toolbar icon for User Tools.
* ‘User tool group’ option in the Setting & syntax dialog box.
* Supports floating window for Output Window and Cliptext/Directory Window.
* Allows dropping files on the Directory Window.
* ‘Add to Project’ command in the Directory Window.
* ‘Copy’/’Move’ button on the FTP Settings dialog box.
* Allows negative value in the line space option.
* Hides horizontal scrollbar in word wrap mode.
* Allows saving read-only files.

看到第一个新功能我眼前一亮,TR1正则表达式?这是什么东东?赶紧更新到EditPlus 3.21,打开帮助文档一看:

Use TR1 regular expression
Check this option to use C++ TR1 regular expression library instead of the previous regular expression feature. TR1 regular expression supports ECMAScript compatible and has more features but is slower than the previous one.

查了一下维基百科,C++ Technical Report 1 (TR1)是ISO/IEC TR 19768, C++ Library Extensions(函式库扩充)的一般名称。TR1是一份文件,内容提出了对C++标准函式库的追加项目。这些追加项目包括了正则表达式、智能指针、哈希表、随机数生成器等。TR1自己并非标准,他是一份草稿文件。

简单的说,C++ TR1 regular expression library就是C++的正则表达式拓展。而按照帮助文档,该选项提供的正则表达式是ECMAScript(JavaScript)兼容的,比原来的正则表达式功能强大很多。

我一直对EditPlus对正则表达式有限支持耿耿于怀,而Notepad++、UltraEdit、EmEditor等编辑器对于正则表达式的支持也不尽如人意。EditPad对正则表达式的支持很好,但是我又用不习惯,而且搜索多个文件的时候好像也用不了正则表达式。现在EditPlus 3.21增强正则表达式,真是太好了,强烈推荐!

Use TR1 regular expression选项默认设置是没有开启的,要选择Tools->Preferences,勾上才行。现在,只要是JavaScript的正则表达式能做到的,EditPlus也能做到。再次强烈推荐~

赞赏

微信赞赏支付宝赞赏

随机文章:

  1. BAT批处理编辑器BatEdit
  2. VBS基础教程第三篇
  3. VBS实现“多线程”
  4. OpenWrt中的Hotplug脚本
  5. PHP中的gzcompress gzdeflate gzencode函数

10 条评论 发表在“强烈推荐EditPlus 3.21”上

  1. ihipop说道:

    这个意思就是说,TR1正则表达式就是最标准的正则表达式喽?

    • Demon说道:

      正则表达式(英语:Regular Expression、regex或regexp,缩写为RE),也译为正规表示法、常规表示法,在计算机科学中,是指一个用来描述或者匹配一系列符合某个句法规则的字符串的单个字符串。

      正则表达式只是一个概念,有各种各样的实现,目前还没有标准。继续鄙视你。^_^

  2. Tanky Woo说道:

    IE6.0下似乎博客排版错位了。

  3. tbx说道:

    如何汉化它 我没有找到选项啊

  4. crifan说道:

    我用到现在,还是觉得notepad++的正则,是最好用的,感觉比editplus要强太多。
    不知道你那里是觉得,notepad++的正则,哪方面,没有达到你的要求啊?

留下回复