boolean (String name, @NotNull RegExpGroup group) { for (int i = 0, length = name.length(); i < length; i++) { final char c = name.charAt(i); if (!AsciiUtil.isLetterOrDigit(c)) { return false; } } return true; }