我是编程的新手,我正在使用C#2010.在我需要维护的代码中有一些很长的(50行)正则表达式.此外,我需要解析一些包含大量信息的文本文件.你能为这些任务推荐一款工具吗?
Phi*_*bin 11
在http://myregextester.com上点击提交之前点击"解释"复选框,你将从YAPE获得出色的输出:: Regex :: Explain
The regular expression:
(?-imsx:[foo]bar(baz))
matches as follows:
NODE EXPLANATION
----------------------------------------------------------------------
(?-imsx: group, but do not capture (case-sensitive)
(with ^ and $ matching normally) (with . not
matching \n) (matching whitespace and #
normally):
----------------------------------------------------------------------
[foo] any character of: 'f', 'o', 'o'
----------------------------------------------------------------------
bar 'bar'
----------------------------------------------------------------------
( group and capture to \1:
----------------------------------------------------------------------
baz 'baz'
----------------------------------------------------------------------
) end of \1
----------------------------------------------------------------------
) end of grouping
----------------------------------------------------------------------
Run Code Online (Sandbox Code Playgroud)
两个工具:
regexbuddy - > http://www.regexbuddy.com/
和expresso - > http://www.ultrapico.com/Expresso.htm
首先不是免费而第二是.两者都提供类似的特征 我个人使用的第一个不知道为什么:D
| 归档时间: |
|
| 查看次数: |
25625 次 |
| 最近记录: |