-
-
21 Feb 2014 19:39:12 UTC
- Browse (raw)
- Changes
- How to Contribute
- Issues (0)
- Testers (470 / 0 / 0)
- Kwalitee
Bus factor: 0- 85.58% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (35.09KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
++ed by:1 non-PAUSE user- Dependencies
- overload
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Changes for version 0.32
- doc fix: to_string was misspelled. Thanks to George Wood of Qualcomm for the report.
- support for non-10 bases between 2 and 16, so you can say eg: rangespec('8c..c8', {base => 16})->regex and get something like: / 8[c-f] | [9-b][\da-f] | c[0-8] /
- lots of internal reorganization, dead code trimming, simplification, golfing, futureproofing, and nice-ification of code
- fix behavior of iterators on empty ranges
- eliminate EmptyRange.pm, add is_empty()
- introduce handle-deprecated-cruft.pl to overwrite any old pms that are no longer used
- fix bug in _collapse_ranges when collapsing twice in a row
- $opts->{allow_wildcard} no longer not necessary with rangespec() or range() called with explicit arguments ('-inf', '+inf'). allow_wildcard is only necessary when called as range( undef, undef ) ( which looks like range() )
Modules
create regular expressions that check for integers in a given rangecreate iterators for Number::Range::Regex objectsProvides
in lib/Number/Range/Regex/CompoundRange.pmin lib/Number/Range/Regex/Range.pmin lib/Number/Range/Regex/SimpleRange.pmin lib/Number/Range/Regex/TrivialRange.pmin lib/Number/Range/Regex/Util.pmin lib/Number/Range/Regex/Util/inf.pmModule Install Instructions
To install Number::Range::Regex, copy and paste the appropriate command in to your terminal.
cpanm Number::Range::Regex
perl -MCPAN -e shell install Number::Range::Regex
For more information on module installation, please visit the detailed CPAN module installation guide.