Removes unused capture groups () inside regex.
A capture group is intended to store its matched text so it can be used later on e.g. in text replacements, so the regex engine has to do extra work every time a capture group is matched compared to a non-capture group.
The captured text is never used elsewhere here.
What this does:
Removes unused capture groups
(
)
inside regex. A capture group is intended to store its matched text so it can be used later on e.g. in text replacements, so the regex engine has to do extra work every time a capture group is matched compared to a non-capture group. The captured text is never used elsewhere here.Related issues:
N/A
Pre/Post merge checklist: