Ok, so it's late on a Wed night and this is for no good reason. But I'd like to see one in any dialect, if it exists, just to be impressed.
Asked
Active
Viewed 70 times
-2
-
1Have you been imbibing numerous beverages as part of your evening so far? – Adrian Wragg Aug 21 '13 at 23:42
-
1Awe, come on. No need to downvote... :) It's all in good fun! – Matthew Adams Aug 21 '13 at 23:44
-
+1. Good question. Self-hosting/bootstrapping/recursion is always intriguing. – Thilo Aug 21 '13 at 23:44
-
2A dupe, though: http://stackoverflow.com/questions/172303/is-there-a-regular-expression-to-detect-a-valid-regular-expression – Thilo Aug 21 '13 at 23:45
-
You would at least need an regex dialect that can cope with nested parentheses. – FrankPl Aug 21 '13 at 23:45
-
@Thilo not a dup as the answer is `regular expressions` – Keng Aug 21 '13 at 23:56
-
This is a programming game type question rather than a serious question, and is probably better suited for [CodeGolf](http://codegolf.stackexchange.com/). – Ken White Aug 22 '13 at 00:19
1 Answers
2
[Rr][eE3][gG][uU][Ll][aA4][rR]\s[Ee3][xX][pP][rR][eE3][Ss5]{2}[iI1][Oo0][nN][sS5]

AbsoluteƵERØ
- 7,816
- 2
- 24
- 35