4 ms·
You're not missing anything but why reinvent a known regex pattern on every project or even on every instance of its usage in a project when the pattern can be
by mekster 4y ago
You're not missing anything but why reinvent a known regex pattern on every project or even on every instance of its usage in a project when the pattern can be defined to be used by anyone that never changes?
In your case, putting the grok patterns in your regex specific function seems to make it more readable.