Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Edmontonian
on Nov 30, 2014
|
parent
|
context
|
favorite
| on:
Regex Crossword
so in your first example, "AB" was in the capture group and the \1 repeats it?
tlrobinson
on Nov 30, 2014
[–]
Correct. The following
(.*)\1+
Would also match "ABABAB", for example.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: