MattFlower / organized

Outlining, scheduling, and todos inside of the Atom Editor
MIT License
114 stars 19 forks source link

Fixes Invalid Regex Group #6

Closed jkamenik closed 8 years ago

jkamenik commented 8 years ago

This PR fixes #5

Atom's (maybe javascript's) regex engine doesn't allow dynamic width look-behind. This was fixed by matching on the whitespace and counting them.

All the failed specs now pass except for one related to stars in code blocks. This is not a feature that I need so I have investigated it, but it does not appear to be caused by function that I fixed.

MattFlower commented 8 years ago

Thanks for the help John, I'll release this shortly.