Timeline for Is it a Chen prime?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 17, 2020 at 9:04 | history | edited | CommunityBot |
Commonmark migration
|
|
Apr 18, 2019 at 11:01 | comment | added | H.PWiz |
I believe that you can use . instead of .? since the input is always at least 1
|
|
Apr 18, 2019 at 6:05 | history | edited | G B | CC BY-SA 4.0 |
added 471 characters in body
|
Apr 17, 2019 at 23:01 | comment | added | H.PWiz |
You can merge the two halves of your | closer together: ^((..+)\2+)(\1+|..)$ . Also, a neat coincidence that you attempted this problem with regex at a similar time to me :)
|
|
Apr 17, 2019 at 11:11 | history | answered | G B | CC BY-SA 4.0 |