Learn Before
Concept
Non-capturing Group
Occasionally we might want to use parentheses for grouping, but don’t want to capture the resulting pattern in a register. In that case we use a non-capturing group, which is specified by putting the commands non-capturing group"?".
0
1
Updated 2022-06-19
Tags
Data Science
Related
Regular expression reference
Basic Regular Expression Patterns
Operator precedence hierarchy
Greedy/ non-greedy matching
False positive and false negative errors for regex matching
Regular Expression Cheatsheet
Capture Group
Non-capturing Group
Lookhead Assertion
Greedy Matching in Regular Expression
Non-greedy Matching in Regular Expression