Fix crash in style_keyword_0or1space
The parser can return Keyword for "dpi-c" (including the quotes), which was not being matched by the re_split regex.
This fixes the regex, adds this case to the test, and removes the unwrap so that it doesn't crash the whole linter if there's another mistake in the regex.
Fixes https://github.com/dalance/svls/issues/346 (I reported that in the wrong repo; oh well).
I found your name is not added to contributors list yet. Could you add it, and fix CI failure?
Updated. I guess there's a slight issue in that the testcases are used both as tests and as examples in the manual. I added "DPI-C" to it because I want to test that case (because it previously caused this crash), but I don't think it's really relevant for the example.
Maybe there needs to be a way to exclude test cases from the manual? Not a big deal for now anyway.
Any chance this could be merged?
Sorry, I missed it.