首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 一个小实用程序,以简化与正则表达式的工作。

一个小实用程序,以简化与正则表达式的工作。

资 源 简 介

In short... jRegexHelper is a little utility to simplify the work with regular expressions. Background Regular expressions are a powerful tool. However, there are a couple of drawbacks: Hard to remember: Especially when you do not use regexes every day, you might have to look up similar ones in existing code. Or you might have to look for some example from the web. Hard to read: When you search for defects in your system, you stumble upon such a regex and might have to re-think what its intention was. Or imagine you hand your codes over to some colleague or customer… jRegexHelper is a simple class that holds various regular expressions. Once defined, you can refer to them in your code in a clean and readable way. Example usage public boolean validateEmail(String email){ return email.matches(RegExpHelper.EMAIL); }

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP