Skip to content

CSC207-2025F-UofT/m5-regex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

This mini assignment gives you practice with regex in Java. You will implement three methods that use Java in different ways to work with regex to perform common tasks.

  • Create your own copy of this template repo.

  • Complete the three methods in class Main so that they pass the provided MainTest tests in class MainTests.

    Note: you will earn full credit as long as the provided tests pass.

    While there are no hidden tests for this assignment, we do encourage you to still write your own additional test cases, as the provided test set does not cover all edge cases. When creating a regex, it is important to both think of which strings it should match and which strings it should not match.

  • Ensure that you have committed and pushed your work to your repo on GitHub.

  • On MarkUs, submit a link to your GitHub repo.

    Run the self tests to confirm that your submission is complete.

About

Exercise for working with regex in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages