def anyChar(self):
     return Literal('.').action(
         lambda input, begin, end, x, bindings: Schema.AnyChar())
 def test_specials(self):
     g = VisualRegexGrammar()
     self._parseStringTest(g.specials(), '.', Schema.AnyChar())
     self._parseStringTest(g.specials(), '^', Schema.StartOfLine())
     self._parseStringTest(g.specials(), '$', Schema.EndOfLine())