I am trying to match the above string to a regular expression using matcher.find() . But I am not getting the response back. Then I tried with the below code but still I am not getting the response.
private boolean patternMatch(String pattern, String value) {
if (value.length() <= PatternmaxSize) {
return value.matches(pattern);
}
}
When I try to match other strings with the same pattern its working. Having issue only with this string. CAn you please help.
Aucun commentaire:
Enregistrer un commentaire