https://allaboutreact.medium.com/match-function-using-c-pointers-create-a-method-that-returns-true-if-and-only-if-its-two-c-b74aa7ad539f