I have a Regex that works correctly in tests but not when my run my app. No idea what is going on. Here is the regex expression: Regex.scan(~r/^\[([a-z].*)\].--.(.*).--/msU, text) .
Here is the string I apply it to:
This is what I get using the regex tester at elixre.uk and also when I run tests with mix test ... However, when I use the above regex expression in my app, the result is an empty list – the regex recognizes nothing. What to do?