Browse Source

docs: fix typo RegexReplace to RegexMatch. (#2465)

pull/2468/head
zanninso 9 months ago committed by GitHub
parent
commit
ab20046615
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 12
      subjects/java/piscine/RegexMatch/README.md

12
subjects/java/piscine/RegexMatch/README.md

@ -36,12 +36,12 @@ import java.io.IOException;
public class ExerciseRunner {
public static void main(String[] args) throws IOException {
System.out.println(RegexReplace.containsOnlyAlpha("azejkdfhjsdf"));
System.out.println(RegexReplace.containsOnlyAlpha("azejkd fhjsdf"));
System.out.println(RegexReplace.startWithLetterAndEndWithNumber("asjd jd34jds jkfd6f5"));
System.out.println(RegexReplace.startWithLetterAndEndWithNumber("asjd jd34jds jkfd6."));
System.out.println(RegexReplace.containsAtLeast3SuccessiveA("sdjkAAAAAsdjksj"));
System.out.println(RegexReplace.containsAtLeast3SuccessiveA("sdjkAAsdaaasdjksj"));
System.out.println(RegexMatch.containsOnlyAlpha("azejkdfhjsdf"));
System.out.println(RegexMatch.containsOnlyAlpha("azejkd fhjsdf"));
System.out.println(RegexMatch.startWithLetterAndEndWithNumber("asjd jd34jds jkfd6f5"));
System.out.println(RegexMatch.startWithLetterAndEndWithNumber("asjd jd34jds jkfd6."));
System.out.println(RegexMatch.containsAtLeast3SuccessiveA("sdjkAAAAAsdjksj"));
System.out.println(RegexMatch.containsAtLeast3SuccessiveA("sdjkAAsdaaasdjksj"));
}
}
```

Loading…
Cancel
Save