Revision history for Perl extension Number::Range::Regexp
0.13 Sep 22 22:21:07 EDT 2012 r2970
- graceful but ugly degradation: string context will give regex()
output when overload can't distinguish between regex and string
context (overload < v1.10, or equivalently, perl < v5.12)
- more readable, less verbose CompoundRange regex commenting
(since we include the CompoundRange::to_string() output,
don't need it from each SimpleRange therein)
- overhaul POD, documenting all functionality
- support perl 5.6.x
- overload.pm now required since it's been available with perl
since 5.5.x or earlier)
- regex_range() deprecated
- add META.yml, README
- less verbose regex commenting for CompoundRanges
0.12 Sep 21 00:36:38 EDT 2012 r2945
- overload ranges such that ->regex() and ->to_string() are implied
depending on context (in a regex or string respectively), update
POD and tests accordingly
0.11 Sep 20 23:37:45 EDT 2012 r2940
- regex_range( ... ) deprecated in favor of range( ... )->regex
- range & rangespec exported by default
- implement contains() to check for range membership w/o regexification
- document iterators
- common, fast implementation of all set ops (except union)
- implement to_string() to describe ranges
- EmptyRange->to_string() is now an empty string for consistency
- seemlessly promote SimpleRanges to CompoundRanges when necessary
- EmptyRange->regex() is now a regex that does not match anything
- unify option mangling code
0.09 Sep 19 18:31:36 EDT 2012 r2915
- NRR implements range() and rangespec() as recommended API
- intersection, subtraction, xor implemented
- EmptyRange->new()->regex() no longer dies - it now returns a regex
that doesn't match anything
- clearer inheritance
- operate internally on SimpleRanges, not TrivialRanges. this allows
for simpler code and faster operation (O(1) vs. O(lg n))
- implement iterators
0.08 Sep 10 15:47:15 EDT 2012 r2874
- object-orient-ify and implement union (intersect on the way)
- use string ops to avoid fp-induced bugs with large numbers
- thoroughly test 0..12 x 0..12 with regex_range()
- add some more targetted test cases
- refactor the two loops in regex_range to have parallel construction
0.07 Aug 29 21:23:23 2012 svn r2817
- readability: change e.g. '\d\d\d\d\d\d' to '\d{6}'
- $opts->{readable} implemented
- comment now works properly when min/max is undef
0.06 Aug 29 19:44:29 2012
- fix crash when regex_range() is called before init()
0.05 Tue Aug 28 22:20:42 2012
- silence a debug warning that was left enabled by accident
0.04 Tue Aug 28 21:44:08 2012 svn r2800
- auto-commenting implemented and enabled by default
0.03 Tue Aug 28 04:21:52 2012 svn r2794
- more exhaustive and informative test scripts
0.02 Thu Aug 23 13:45:23 2012
- no_leading_zeroes option implemented
0.01 Thu Aug 23 11:27:39 2012
- original version