Uh oh! I overthought fizzbuzz:

The following Ruby snippets aren’t quite the same as the automaton above (this Haskell version is actually closest to that), but here’s a couple of Regexp solutions in a style that I haven’t seen before. They have a kind of Turing-tape flavor to them.
>
puts (1..100).map { |n| ‘1’*n+” }.join. gsub(/(1{5})
