Don't use MustCompile() for dynamically built regexes
gkristic opened this issue · comments
This is a follow up on #15. The use of MustCompile()
for a regular expression can easily crash an application. I suggest using Compile()
instead and handling the error appropriately.
Okay. If that's ongoing work then this issue makes no sense. Closing!