All about Java String.
Basic pattern matching form that is being supported by API is string literal match. E.g, when regular expression and input string is foo, matching succeeds as strings are same. Test harness could be used to try it.
Enter regex: foo
Enter “input string” for search: foo
Text foo is found that starts at index 0, & ends at index 3.
Match was successful. It shall be noted that when input strings are three characters longer then starting index is zero and