各种工具和语言的正则表达式语法差异汇总? [英] Summary of differences in regular expression syntax for various tools and languages?
问题描述
我永远不会记得像 grep 和 AWK ,或Python和PHP等语言。一般来说,Perl具有最广泛的语法,但我经常受到甚至 是否有一个网站以简明易懂的方式列出了差异? 掌握正则表达式,致力于最后四章到Java,PHP,Perl和 .NET 。每一章都有一章。据我所知,袖珍版只包含最后四章。 I can never remember the differences in regular expression syntax used by tools like grep and AWK, or languages like Python and PHP. Generally, Perl has the most expansive syntax, but I'm often hamstrung by the limitations of even Is there a site that lists the differences in a concise and easy-to-read fashion? Mastering Regular Expressions, devotes the last four chapters to Java, PHP, Perl, and .NET. One chapter for each. From what I know, the pocket edition contains just those final four chapters. 这篇关于各种工具和语言的正则表达式语法差异汇总?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! egrep
(extended grep $ c $
egrep
("extended" grep
).