Repository navigation
Release 1.1.6
Full Changelog: 1.1.5...1.1.6
- Fixed inconsistencies in the
equalsandhashCodechecks forPair/Tupleobjects - Refactor and rewrite several parts of
StringUtils:- Removed the following functions:
getMatchergetMatchesreplaceMatchesremoveMatchesreplacesequentialReplace
- These functions were largely legacy functions built years ago, and hardly maintained. If anything, they were barely considered functional.
- Added new functions:
stripMatchesw/ several overloads for some of the patterns inStringUtilsreplaceMatches(New function definition, and used bystripMatches)getMatches(New function definition, now also including a singular version)
- Fixed Issues:
- Fixed repetitive Pattern compilation cases for some methods
- Replaced several cases of
.replaceAll(regex, ...)withreplaceMatches(pattern, key, replacement)to avoid excessive Pattern compilation- In cases where
replaceAllwasnt used with regex, we now use.replaceto avoid creating a regex
- In cases where
- Removed the following functions: