# A regexp that does not match itself [closed]

Can you think of a regular expression that does not match itself?

## closed as too broad by lirtosiast, Addison Crump, Loovjo, AdmBorkBork, OptimizerNov 5 '15 at 20:23

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• a{2}, and many more – Ypnypn Nov 5 '15 at 20:19
• Welcome to Protramming Puzzles & Code Golf! I think this question is a bit too broad, there's very many regexpes that doesn't match them self. I would also suggest adding a objective winning criteria, such as code-golf (shortest regexp wins) or popularity contest (answer with the most votes wins). – Loovjo Nov 5 '15 at 20:21
• ^$ - Can't think of shorter for now.. – Optimizer Nov 5 '15 at 20:22 • This should have been closed as a duplicate of codegolf.stackexchange.com/q/22648/194 – Peter Taylor Nov 5 '15 at 21:28 ## 1 Answer A few on 2 chars ^$

\s

\d

\n

\t

\r


And many more consisting of a \ and a lowercase character.