1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/tests/test_sections.py Tue Jan 17 01:16:37 2012 +0100
1.3 @@ -0,0 +1,26 @@
1.4 +#!/usr/bin/env python
1.5 +
1.6 +from ImprovedTableParser import replaceMarkers
1.7 +
1.8 +text = """
1.9 +{{{
1.10 +Hello
1.11 +\\{\\{\\{
1.12 +Hello again
1.13 +But not \\{\\{\\{ this \\}\\}\\}
1.14 +\\\\{\\\\{\\\\{
1.15 +And once again
1.16 +\\\\}\\\\}\\\\}
1.17 +And again
1.18 +\\}\\}\\}
1.19 +again
1.20 +}}}
1.21 +"""
1.22 +
1.23 +replaced = replaceMarkers(text)
1.24 +
1.25 +print text
1.26 +print
1.27 +print replaced
1.28 +
1.29 +# vim: tabstop=4 expandtab shiftwidth=4