github.com/jeffwilliams/srex (go): Structural Regular Expressions from the shell.
Keywords: structural-regex|structural-regular-expressions