阅读背景:

从Perl中的STDIN评估用户定义的正则表达式

来源:互联网 

I'm trying to make an on-the-fly pattern tester in Perl. Basically it asks you to enter the pattern, and then gives you a >>>> prompt where you enter possible matches. If it matches it says "%%%% before matched part after match" and if not it says "%%%! string that didn't match". It's trivial to do like this:I'm trying to make an on-the-fly pattern tester




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: