Hi I am getting Text responses and I want to match them using Regex and apply the necessary function For instance suppose if I get a text "34n5n5: What is the result of 5 plus 0" I pass it to a function to get required output
How do I use the matchRegex function in haskell to match this Text. If there is a better way to match then please tell that also.
For example for this request
"34n5n5: What is the result of 5 plus 0"
Here "34n5n5" can be different for different requests
The numbers (5 0) can change