BradleyCai / ucr-schedule-visualizer

Generates an hour by hour view and shows the locations of all the classes from a raw class list from GROWL.
https://waa.ai/ucrsv
MIT License
5 stars 2 forks source link

Regex course parsing not working #50

Closed BradleyCai closed 9 years ago

BradleyCai commented 9 years ago

https://github.com/BradleyCai/ucr-schedule-visualizer/blob/gh-pages/etc/test_regex_input_4.txt

Produces this

image

Which is incorrect. Something seems to have gone wrong with our regex

emmiegit commented 9 years ago

This is tied in with issue #51. Hopefully we'll be able to catch bugs right off the bat before randomly discovering them during development.

emmiegit commented 9 years ago

After discussing this bug, we decided that the core issue was how the Javascript used the groups from the regular expressions. Commit 5af2242 fixes this issue, though of the errors mentioned in Bradley's original post, as it is a different issue.