Mustache parsing in 25 lines too much for you? How about doing it in 3 - https://gist.github.com/yoshuawuyts/2dfe2d13a4ab8b9e64b0 …
-
-
Replying to @yoshuawuyts
@yoshuawuyts Golf: function regstash(string, context){ return string.replace(/\{\{(.*?)\}\}/g, (string, key) => context[key]); }1 reply 0 retweets 0 likes -
Replying to @KoryNunn
@yoshuawuyts Silly time: var regstash = (s, c) => s.replace(/\{\{(.*?)\}\}/g, (s, k) => c[k])1 reply 0 retweets 1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
.