Skip to content

Conversation

@Graham42
Copy link
Contributor

The regex parses something like 001-LEC (1234) which makes sense to be of the format {class_num}-{type} ({solus_id})

Unless I'm missing something?

The regex is at line 21

The regex parses something like `001-LEC (1234)` which makes sense to be
of the format `{class_num}-{type} ({solus_id})`

`class_num` and `solud_id` were previously swapped which is incorrect.
@pR0Ps
Copy link
Member

pR0Ps commented Jun 16, 2015

This is definitely wrong, but the attributes may be swapped in more than one place (I remember something about this before).

Can you do a before/after test to verify that the old behaviour was wrong and the new is correct? If so, then we can just merge this. If this PR switches the attributes to be incorrect, some code somewhere else will need to be changed too.

@pR0Ps
Copy link
Member

pR0Ps commented Jun 16, 2015

Actually, I just found this commit in the #23 PR: d8433a8 . No wonder the problem seemed familiar.

When #23 is merged this issue will be fixed so I'll just close this one.

@pR0Ps pR0Ps closed this Jun 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants