private static RegExp compile(CharacterClass... regexPattern){
  List<String> ss=from(regexPattern);
  String pattern=ListHelper.join(ss,"|");
  return RegExp.compile(pattern,"g");
}

private static RegExp compile ( CharacterClass ... regexPattern ) { List < String > ss = from ( regexPattern ) ; String pattern = ListHelper . join ( ss , "|" ) ; return RegExp . compile ( pattern , "g" ) ; }
joins character classes by or ' ing them together then compiles them into a single regular expression .
