A Regular Expression (RegEx) To Match Integers and Doubles

These regular expressions matches both the positive and negative variations of the data types specified below integers - e.g., 1, 89, 81223, -7, etc. floating point numbers (doubles or floats) - e.g., .0, 59.3, 300.12, -.87   The adopted approach was to avoid nested expressions which is not needed if it is only the number … Continue reading A Regular Expression (RegEx) To Match Integers and Doubles

Advertisements

Forcing Maven To Use The Local .m2 Repository

If each Maven run on a project results in always downloading dependency jars even though they have already been downloaded and stored in your local .m2 repository which is by default located at USER_HOME/.m2 e.g., on my Windows 10 machine, mine is C:\Users\ransk\.m2, then you only have to instruct Maven to operate in an offline mode. … Continue reading Forcing Maven To Use The Local .m2 Repository