Using `Match` with Regex in Functional Programming - Effect Community