#11 closed defect (fixed)
specdomain: regexp problem with def macro recognition in docstrings
Reported by: | jemian | Owned by: | jemian |
---|---|---|---|
Priority: | major | Milestone: | |
Keywords: | specdomain | Cc: |
Description
reported by Christian Schlepuetz
I found the cause of the processing error. It must have something to do the the regex you use to identify definitions. Line 65 in the header docstring started with the word "defined". Somehow that triggered the regexp, which collected everything up to the next "(", which happens to be on line 69 "(2*AUTO_FILTER_FACTOR)". I temporarily fixed the problem by moving the word "defined" to the end of the previous line, but this fluke could potentially arise again. Is there a way of not searching for any of the function declarations (def, cdef, reef, global, Š) inside a doctoring? Otherwise, you may have to improve the regex.
Change History (3)
comment:1 Changed 11 years ago by jemian
comment:2 Changed 11 years ago by jemian
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 11 years ago by jemian
Note: See
TracTickets for help on using
tickets.
(In [1016]) refs #11, bug noted on list