A partial implementation of Rob Pike's Structural Regexps