Go implementation of  Backward Nondeterministic Dawg Matching