Permalink
Browse files

Adds racket program by gf3

  • Loading branch information...
1 parent ebba8ad commit abe421f6893d40c44c06b52e7b8654994ddf7133 @rwaldron rwaldron committed Nov 23, 2011
View
@@ -1,5 +1,15 @@
```
-racket subject-is-dead.rkt
+racket subject-is-dead-rwaldron.rkt
+```
+
+http://gyazo.com/d1bb3fed949fcaab3acd4f3f595e3b56.png
+
+
+--------
+
+
+```
+racket subject-is-dead-gf3.rkt
```
http://gyazo.com/d1bb3fed949fcaab3acd4f3f595e3b56.png
@@ -0,0 +1,7 @@
+#lang racket
+(define subject "[Subject] is dead, long live [Subject]")
+(define (replace-subject msg)
+ (write msg)
+ (replace-subject
+ (regexp-replace* #px"\\[Subject\\]" msg subject)))
+(replace-subject subject)
File renamed without changes.

0 comments on commit abe421f

Please sign in to comment.