Closed
Description
I think it was unwise to ever add this and I didn't give much thought to it. I saw it as a convenience for just quickly matching a regex against some text, but:
- It's more explicit to just create the
Regex
value and us that to match. - It encourages compiling the regex every time it's used to search text, which is an anti-pattern because compilation is much slower relative to execution.
Metadata
Metadata
Assignees
Labels
No labels