测试正则表达式工具(Linux/ubuntu)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4022089/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Testing regular expressions tool (Linux/ubuntu)
提问by hummingBird
I searched for a question about regexp testing/learning tools, but people usually suggest Windows based solution. I found one for ubuntu: redit. However, I'm wondering if there are better tools for the job. So, without further ado
我搜索了一个关于正则表达式测试/学习工具的问题,但人们通常建议基于 Windows 的解决方案。我为 ubuntu 找到了一个:redit。但是,我想知道是否有更好的工具来完成这项工作。所以,事不宜迟
Q: What is the best tool for testing/leadning regular expressions for linux/ubuntu?
Sorry if this is a superuser kind of question. Thx
对不起,如果这是一个超级用户类型的问题。谢谢
采纳答案by sleske
I rather like Kodos, which is a cross-platform GUI regex tester.
我更喜欢Kodos,它是一个跨平台的 GUI 正则表达式测试器。
But there are many others. Have a look at the answers to How do you debug a regex?, there are many cross-platform solutions listed.
回答by pinichi
Why don't use web-base tools: http://regexpal.com/and more here
为什么不使用基于网络的工具:http: //regexpal.com/和更多这里
回答by ridgerunner
回答by Heinrich
For simple regex I use the replace function in Sublime Text 2.
对于简单的正则表达式,我使用Sublime Text 2 中的替换功能。
回答by arivu86
My favorite http://gskinner.com/RegExr/Adobe Air app. Worth a try
我最喜欢的http://gskinner.com/RegExr/Adobe Air 应用程序。值得一试