RegexValidator changed to support validation involving Collection and Arrays. Tests added.
RegexValidator.java suppress warning added.