Subject: rx generates wrong regular expression for class
From: Daniel Colascione <[email-masked]>
To: [email-masked]
Date: Sat, 04 Sep 2010 16:04:06 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

(rx (in (?0 . ?3) ?, ?-))

generates

"[,-0-3]"

but it should generate
"[,0-3-]"

More generally, if "-" occurs in a class, it
should always go *last*.