Nick Satinover 6be245d654 Completed il y a 6 ans
src Completed - 84 percent test coverage il y a 6 ans
.gitignore RegexLab back and better than ever il y a 6 ans
README.md updated readme il y a 6 ans
output.txt Completed 82 percent test coverage il y a 6 ans
pom.xml isHamletOrHoratio il y a 6 ans
text.txt Completed 82 percent test coverage il y a 6 ans

README.md

REGEX

Directions

Make a project that will go through the hamlet file provided and using regex replace every instance of "Hamlet" with "Leon" and every instance of Horatio with "Tariq".

Beginning with tests, you are to program all the steps it will take to complete that process. Some tests have been stubbed out for you but these will not cover all the methods you should have in your project.

IMPORTANT: You are not to use String Utilities to simply replace words. You must use Pattern and Matcher.