Skip to content

Instantly share code, notes, and snippets.

@czjxy881
czjxy881 / answers.md
Last active January 1, 2016 00:49 — forked from jpsim/answers.md
  1. Plain Strings (207): foo
  2. Anchors (208): k$
  3. Ranges (202): ^[a-f]+$
  4. Backrefs (201): (...).*\1
  5. Abba (193): ^(?!.*(.)(.)\2\1)
  6. A man, a plan (177): ^(.)[^p].*\1$
  7. Prime (286): ^(?!(..+)\1+$)
  8. Four (199): (.)(.\1){3}
  9. Order (199): ^[^o]?.{5}$
  10. Triples (588): 1..?4|1.7|4.2|6.0|(00[039]|12|015|50)$|006