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 ,.
It's kinda annoying on the eyes to have that link there for every post, though. Maybe this "Replies" feature would better be fit in some external browser thing like http://wakaba.c3.cx/sup/kareha.pl/1104757670 ?