MCPcopy Index your code
hub / github.com/clips/pattern / test_escape

Method test_escape

test/test_search.py:438–441  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

436 print "pattern.search.search()"
437
438 def test_escape(self):
439 # Assert escape() function.
440 self.assertEqual(search.escape("{}[]()_|!*+^."), "\\{\\}\\[\\]\\(\\)\\_\\|\\!\\*\\+\\^.")
441 print "pattern.search.escape()"
442
443#---------------------------------------------------------------------------------------------------
444

Callers

nothing calls this directly

Calls 1

escapeMethod · 0.45

Tested by

no test coverage detected