macos 适用于 Mac OS X 的交互式正则表达式构建器学习工具?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5654676/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 07:57:27  来源:igfitidea点击:

Interactive regex builder learn tool for Mac OS X?

regexmacos

提问by mikkelbreum

Anyone want to recommend a good regex tool (Interactive GUI for constructing and learning) for regex syntax on Mac OS X?

任何人都想为 Mac OS X 上的正则表达式语法推荐一个好的正则表达式工具(用于构建和学习的交互式 GUI)?

采纳答案by Andreas Bergstr?m

I can recommend Patterns, found on Mac App Store: http://itunes.apple.com/us/app/patterns-the-regex-app/id429449079?mt=12

我可以推荐模式,在 Mac App Store 上找到:http: //itunes.apple.com/us/app/patterns-the-regex-app/id429449079?mt=12

回答by Rein Henrichs

http://rubular.com. It's on the Internet, so you should be able to use it on OS X. It uses Ruby's regexp engine, but that is similar enough to Perl and other regexp engines.

http://rubular.com。它在 Internet 上,因此您应该可以在 OS X 上使用它。它使用 Ruby 的 regexp 引擎,但这与 Perl 和其他 regexp 引擎非常相似。

回答by Regexident

While I don't know of any native OS X "interactive" regex tools, here are a couple of good visual regex match tools:

虽然我不知道任何原生 OS X“交互式”正则表达式工具,但这里有几个很好的可视化正则表达式匹配工具:

A few online editors:

一些在线编辑器:

And if you're willing to run windows in a virtual machine, there's also the Regex overlord:

如果您愿意在虚拟机中运行 Windows,还有 Regex 霸主:

回答by Peter Hoose

I like regexhibit, there are some others here:

我喜欢 regexhibit,这里还有其他一些:

http://alternativeto.net/software/regexhibit/?platform=mac

http://alternativeto.net/software/regexhibit/?platform=mac

Or if as others have said you don't mind running a VM I think regex coach for Windows is a little better:

或者,如果正如其他人所说,您不介意运行 VM,我认为 Windows 的 regex Coach 会好一点:

http://weitz.de/regex-coach/

http://weitz.de/regex-coach/

回答by Vlad

Take a look at iRegEx.

看看iRegEx

回答by Mike Ramirez

There are two that I can think of, both rely on PyQt, the eric ide, this is a nice python ide, it is specialized for PyQt but has a regex tool built into it. The other is kodoswhich is a standalone regex tool.

我能想到的有两个,都依赖于 PyQt,即eric ide,这是一个不错的 Python ide,它专门用于 PyQt,但内置了一个正则表达式工具。另一个是kodos,它是一个独立的正则表达式工具。

回答by Hwee-Boon Yar

A self-plug:

自插:

http://motionobj.com/regex

http://motionobj.com/regex

You can also read the tutorial here http://motionobj.com/blog/regex-macos-tutorial. Although it mentions the Regex app, it should still be helpful with other tools.

您还可以在http://motionobj.com/blog/regex-macos-tutorial阅读教程。虽然它提到了 Regex 应用程序,但它应该仍然有助于其他工具。