TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Regular Expression Analyzer

37 点作者 pacemkr超过 11 年前

4 条评论

buckbova超过 11 年前
If you are looking for somewhere to craft regexes, someone recently posted a link to a neat looking project, regex101 <a href="http://regex101.com/" rel="nofollow">http:&#x2F;&#x2F;regex101.com&#x2F;</a> .<p>This link looks to be driving traffic to this myezapp.
评论 #6602297 未加载
mistercow超过 11 年前
Pretty cool. One minor bug: it says &quot;repeat&quot; for &quot;?&quot;, but then for the number of times it says &quot;optional&quot;. It really shouldn&#x27;t say &quot;repeat&quot; at all for that character.
JetSetWilly超过 11 年前
Pretty nice. It could deal with weird java specific stuff like for example \p{javaWhitespace} - it deals with \s by saying it is &quot;any whitespace&quot;, but it seems to think \p{javaWhitespace} is a character sequence, rather than an odd java-specific character class.
afreak超过 11 年前
It seems to choke on this mess of a regex:<p><a href="http://www.ex-parrot.com/pdw/Mail-RFC822-Address.html" rel="nofollow">http:&#x2F;&#x2F;www.ex-parrot.com&#x2F;pdw&#x2F;Mail-RFC822-Address.html</a>