在哪里可以找到 Perl 的集合正则表达式练习? [英] Where can I find a collection regular expression exercises for Perl?

查看:45
本文介绍了在哪里可以找到 Perl 的集合正则表达式练习?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我学习了很多 Perl RegEx 语法规则,但可能真正能够编写它们的唯一方法是做一堆与RegEx"相关的练习.

I learned a lot of Perl RegEx syntax rules, but probably the only way to actually be able to write them is to do a bunch of 'RegEx' related exercises.

我查看了 StackOverflow 上的其他Learn RegEx"线程,但没有找到类似的内容.

I looked over the other "Learn RegEx" threads on StackOverflow, but haven't found anything similar.

有没有这样的练习集?以书的形式,HTML,有/没有答案,没关系,只是为了让我继续写正则表达式.

Is there any collection of such exercises? In form of book, HTML, with/without answers, it doesn't matter, just to keep me writing RegExes for a while.

推荐答案

我建议浏览此站点上的正则表达式标记问题,并尝试自己的答案,而不要在当前问题上达到顶峰.您不需要发布答案,但我敢打赌,有时您会想出值得发布的答案.

I suggest browsing the regex tagged questions on this site and experiment with your own answers without peaking at the current ones. You don't need to post your answers, but I bet that sometimes you'll come up with answers that are worth publishing.

这种方法的三个好处:

  1. 您将在现实世界中工作问题.
  2. 你可能会学到东西关于其他编程语言你去.('学习总是好的新语言).
  3. 你可能会帮助世界找到好的答案到现实世界的正则表达式问题.

这篇关于在哪里可以找到 Perl 的集合正则表达式练习?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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