Commits

Alexander Solovyov committed b125dfe

better regexp

  • Participants
  • Parent commits 4f41e83

Comments (0)

Files changed (1)

 
 import os, os.path as op, re, sys
 
-CODEBLOCK = re.compile(r'\n([^ ][^ ][^\n]*)\n{2,}  ')
+CODEBLOCK = re.compile(r'\n(([^ ].|.[^ ])[^\n]*)\n{2,}  ')
 INDEX = '''
 Mercurial tests
 ===============