[翻译] NSRegexTester
NSRegexTester
This is a very simple Mac OS X application that allows you to test regular expressions against sample text. It is based on the Mac OS SDK's implementation of?NSRegularExpression, which is based on?ICU.
這是一個很簡單的Mac OS X應用程序,允許你使用樣本文本測試正則表達式。它基于Mac OS SDK中的NSRegularExpression實現,這個NSRegularExpression是遵循ICU正則表達式庫的。
?
My problem is that, as a Rails developer, I'd grown accustomed to using?Rubular, a brilliant regex testing tool. However, there are subtle differences in the syntax of regular expressions between the Mac SDK and others. This tool ensures that the expressions I enter will actually work when implemented in code.
我的問題是,對于正則表達式的測試工具,我傾向于去用Rubular,因為它做得特別好。然而,在格式上,Mac SDK與其他種類的正則表達式有著許多微妙的差異。這個工具就是確保,你鍵入的正則表達式與你用代碼實現的是一致的,你不在需要擔心微妙的差異問題了。
?
Download
If you just want a binary,?here you go.
如果你只想要一個靜態庫版本,用這個吧。
?
Screenshot
?
總結
以上是生活随笔為你收集整理的[翻译] NSRegexTester的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 针对接口编程
- 下一篇: OC Block网上转载