30 December 2013

The method assumeFalse(String, boolean) is undefined for the type Assume

When trying to compile ant project I got the next error message:

The method assumeFalse(String, boolean) is undefined for the type Assume

Well, this is because I was using junit 4.8.2 and that method's signature is available in 4.11
(maybe an earlier version).

Anyway, the good practice is to download the libraries with fetch.xml.

Regular Expressions Cookbook, 2nd Edition by By Jan Goyvaerts, Steven Levithan


Regular Expressions Cookbook, 2nd Edition
Detailed Solutions in Eight Programming Languages
By Jan Goyvaerts, Steven Levithan
http://shop.oreilly.com/product/0636920023630.do
 


It starts with a good analysis of online and offline regexp tools. Most known applications that can be found in the net, but doing a emphasis to his proprietary tool regexbuddy.

As a classical O’reilly cookbook splits knowledge in contextual sections. Question & Answer, without hesitation, several solution sometimes quick and dirty, but afterward a complete background and more elegant explanation of the consequences of using such approach, providing a better (maybe the best) solution.

The focus of this book is to provide several recipes, direct solution and not an introductory lexical compiler learning book. It gives solutions with many constraint for different flavors of regexp engines, such us, .NET, Java, JavaScript, PCRE, Perl, Python, Ruby.

This cookbook provides a basic introductory chapter, then later chapters becomes more explicit for common programmatic expressions (very wide scope), that most coders would need sometime in their projects, for instance, URLs, Comments, Numbers, Dates (arghhh), XML, CSV, among others.

My Blog List

Blog Archive

Disclaimer

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.