Closed jessetan closed 7 years ago
To be honest, there're probably many more inaccuracies littered through the grammar. When I cleaned it up, I had only a trivial understanding of reStructuredText, and avoided changing whatever I wasn't sure about.
So by all means, go nuts with cutting out the crap. :)
I'll keep that in mind for the next PR, don't want to refactor just for the sake of it. Perhaps good to put this in the README?
Nah, better off sticking that in HELPME.rst
, heh. (I jest)
ANYWAY. There's no need to refactor what I refactored the living shit out of last year, haha. It's really just the character classes that need refinement, I think. Not a massive issue, but it does mean stuff like this will surface sooner or later.
Changed regex to allow colon and plus sign. Changed matching of link target name to non-greedy for proper matching of colon. Note that I have kept the existing
\\d\\w
, although it seems superflous since\w
already matches[A-Za-z0-9_]
.Fixes #50