xingyixun / hamcrest

Automatically exported from code.google.com/p/hamcrest
0 stars 0 forks source link

org.hamcrest.text.pattern is missing from java #189

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
According to Issue 2, there is a package org.hamcrest.text.pattern which 
provides reg-ex pattern matching.
This package seems to be missing from hamcrest 1.3 with no obvious replacement.

Please restore this package, as regex matching on strings would be handy.

Original issue reported on code.google.com by coop4...@gmail.com on 14 Sep 2012 at 3:16

GoogleCodeExporter commented 9 years ago
I don't believe that the text matchers have ever been a part of hamcrest-core 
or libraries, but have always been delivered as a separate entity.  The 
underlying project is here: http://code.google.com/p/hamcrest-text-patterns/ 
and there is a jar available for download on the hamcrest downloads page 
code.google.com/p/hamcrest/downloads/detail?name=hamcrest-text-1.1.jar

Original comment by t.denley on 17 Sep 2012 at 6:35

GoogleCodeExporter commented 9 years ago
Ah - thanks!

Original comment by coop4...@gmail.com on 18 Sep 2012 at 2:22

GoogleCodeExporter commented 9 years ago
Hi, not to beat on a dead horse but:

- the JAR file is from 2007 
- it has not been updated to Hamcrest 1.3 ( 
http://code.google.com/p/hamcrest-text-patterns/issues/detail?id=2 )
- it has no official release 
(http://code.google.com/p/hamcrest-text-patterns/issues/detail?id=1
- it is not accessible through Maven/Ivy
- older duplicate of this bug 
http://code.google.com/p/hamcrest/issues/detail?id=2

Please put at least a very simple matcher into Hamcrest Core.

Thanks

Original comment by sebastia...@gmail.com on 30 Mar 2013 at 9:40