Java regular expression evaluator for string matching
java
836
0
Prompt
Build a regular expression evaluator in Java that takes a regular expression pattern and a string as inputs, and returns a boolean indicating whether the string matches the pattern.