有用的正则表达教程 [英] Useful regular expression tutorial

查看:103
本文介绍了有用的正则表达教程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有关于使用正则表达式的很好的教程,特别是 grep ?我尝试了一些Google搜索,但大多数教程都太基础,并且涵盖了我已经知道的事情。 Regular-expressions.info有一个教程部分。这个网站对于一般的正则表达式来说非常全面,不过重点是支持脚本和编程语言。



J。 Friedl关于掌握正则表达式的书(在其他地方提到过)绝对是一个优秀的资源,如果你认真对待标题所说的话,基本阅读

任何经常使用正则表达式或作为其工作一部分的人都会很好地拿起本书。浏览教程并不是真正有助于提高正则表达式的性能。


Is there a good tutorial on using regular expressions, especially with grep? I tried googling for some, but most tutorials are too basic and cover things I already know.

解决方案

Regular-expressions.info has a tutorial section. This site is pretty comprehensive for regular expressions in general, although the emphasis is on support in scripting and programming languages.

The J. Friedl book on mastering regular expressions (mentioned elsewhere), is definitely an outstanding resource, and essential reading if you are serious about doing what the title says.

Anyone who uses regular expressions routinely, or as part of their job, would do well to pick up the book. Browsing around for tutorials is not really conducive to proficiency, in regex-land.

这篇关于有用的正则表达教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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