各种工具和语言的正则表达式语法差异汇总? [英] Summary of differences in regular expression syntax for various tools and languages?

查看:109
本文介绍了各种工具和语言的正则表达式语法差异汇总?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我永远不会记得像 grep AWK ,或Python和PHP等语言。一般来说,Perl具有最广泛的语法,但我经常受到甚至 egrep (extended grep

是否有一个网站以简明易懂的方式列出了差异?

解决方案

掌握正则表达式,致力于最后四章到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 egrep ("extended" grep).

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆