Summary
irregex: SRE utility pattern 'real does not match negative numbers
Metadata
- Id: aa0034171f2bf084f330cfca386b710cba3da7bc
- Trac id: 888
- Type: defect
- Reporter: iraikov
- Owner:
- Cc:
- Status: closed
- Component: core libraries
- Estimated difficulty:
- Resolution: fixed
- Priority: major
- Milestone: 4.9.0
- Version: 4.7.x
- Changetime: 2012-09-24 21:47:48 UTC
- Created: 2012-07-17 11:22:55 UTC
- Keywords:
Description
It seems that using irregex's built-in pattern for real numbers does not accept negative numbers:
(irregex-match 'real "-2.4") -> #f
(irregex-extract 'real "-2.4") -> ("2.4")
Changes and comments
[2012-07-31 20:49:09 UTC] sjamaan changed status from new to closed
[2012-07-31 20:49:09 UTC] sjamaan set resolution to fixed
[2012-07-31 20:49:09 UTC] sjamaan wrote:
This has been pushed, see commit 547ca87cf551aeeb156491710d1af3f152242db2
[2012-09-24 21:47:48 UTC] felix changed milestone from 4.8.0 to 4.9.0
[2012-09-24 21:47:48 UTC] felix wrote:
Milestone 4.8.0 deleted