Changeset 930 for specdomain/src/round2


Ignore:
Timestamp:
Jun 14, 2012 1:12:01 PM (11 years ago)
Author:
jemian
Message:

refs #8, progress on adding directives to the index

File:
1 edited

Legend:

Unmodified
Added
Removed
  • specdomain/src/round2/sphinxcontrib/tester.py

    r920 r930  
    3232        name, args, last = m.groups()
    3333        print name, args.strip().split()
     34
     35spec_macro_sig_re = re.compile(
     36    r'''^ ([a-zA-Z_]\w*)         # macro name
     37          ''', re.VERBOSE)
     38
     39sig = u'cdef(macro_name, content, groupname, flags)'
     40m = spec_macro_sig_re.match(sig)
     41print m.groups()
     42print args
     43
Note: See TracChangeset for help on using the changeset viewer.