Java Verbal Expressions
Is it just me or does this seem like a very bad idea? I mean it <i>seems</i> nicer but the reality is, if you don't know how Regexes work, you won't understand the nuances of the "verbal" regex either... Also, some optimisation maybe?<p><pre><code>    ^(?:http)(?:s)?(?:\:\/\/)(?:www\.)?(?:[^\ ]*)$
</code></pre>
could be better written as<p><pre><code>    ^https?://(?:www[.])?[^ ]*$
</code></pre>
Or am I missing something? In that case, I'll readily admit this library is a good idea :)