Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Edmontonian
· 11y ago · 0 comments
so in your first example, "AB" was in the capture group and the \1 repeats it?
Comments
[–]
tlrobinson
11y ago
Correct. The following
(.*)\1+
Would also match "ABABAB", for example.