Why can a regex correctly identify bracketing such as ((a))
but not (((a)
? I don't have any specific regex in mind but I am curious on why it is the case.
Asked
Active
Viewed 19 times
0

Nazim Kerimbekov
- 4,712
- 8
- 34
- 58

Jack Dawson
- 1
- 1
-
I don't see the answer in this other question. – Jack Dawson Feb 01 '18 at 21:29
-
A regex can identify `(((a)`. Just use `\(\(\(a\)`. Please clarify what you are looking for. – Pace Feb 02 '18 at 01:05