Skip to content

Commit

Permalink
docs: fix typo RegexReplace to RegexMatch. (#2465)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanninso authored Feb 27, 2024
1 parent 6ba167d commit ab20046
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions subjects/java/piscine/RegexMatch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
}
}
```
Expand Down

0 comments on commit ab20046

Please sign in to comment.