Join GitHub today
Splitting tags fails for non-word characters before the separator #2678
I had a tag value that had multiple separators in it, namely
As far as I can tell, there is very little documentation on what quodlibet does when splitting, and the testing in test_util_string.py is minimal. There is a cryptic comment in the code for split_value that might be construed as saying something different, but I think that splitting into more than two parts is the correct behaviour.
This appears to be related to #1088
Oh, the problem I'm experiencing is due to the wrapping of separators in split_values. Because I have a non-word character at the end of a "value", the separation is not recognized.
The question is what should be done here. My view is that the word boundary bit should be removed, but that's a decided change from current behaviour.