
21 May
2010
21 May
'10
4:33 a.m.
... to rewrite strings according to simple composable rules like ...
more often than not, regexp/replace is a hack to avoid the "real thing" (parse -> AST -> transform -> AST' -> print). such hacks tend to grow into something that is definitely not composable. but, you can be a hero ... http://xkcd.com/208/