[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6984: rx generates wrong regular expression for class
From: |
Daniel Colascione |
Subject: |
bug#6984: rx generates wrong regular expression for class |
Date: |
Sat, 04 Sep 2010 16:04:06 -0700 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 |
(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*.
- bug#6984: rx generates wrong regular expression for class,
Daniel Colascione <=