String (String fieldText) { if (!myUsedSymbolsCheckPattern.matcher(fieldText).matches()) { return JavaStartersBundle.message("message.allowed.symbols.for.check.artifact.simple.format"); } if (!myFirstSymbolCheckPattern.matcher(fieldText).matches()) { return JavaStartersBundle.message("message.allows.first.symbol.for.check.artifact.simple.format"); } return null; }