Well, that's ugly, but at least it doesn't break things entirely, since the link to 1, does work... But let's look at the regexp. I'm using this right now:
/(?:[0-9\-,lrq]|,)+/One quick but slightly clumsy solution would be something like this:
/(?:[0-9\-,lrq]|,)*[0-9\-lrq]/That would require the last character to not be a ,.
Well, as an experiment, I've implemented both the q syntax, and http://wakaba.c3.cx/sup/kareha.pl/1102984488/1 on these two boards. Try it out, and give suggestions for improvement or changes.