25
25
# python-docutils 0.4-4 -- so monkeypatch in a better pattern
27
27
# This is a bit gross to patch because all this is built up at load time.
29
29
Body.pats['longopt'] = r'(--|/)%(optname)s([ =]%(optarg)s)?' % Body.pats
30
30
Body.pats['option'] = r'(%(shortopt)s|%(longopt)s)' % Body.pats
31
31
Body.patterns['option_marker'] = r'%(option)s(, %(option)s)*( +| ?$)' % Body.pats