2.120 Wed Mar 16 01:39:57 CET 2005
- '-base', and '-places' options for $RE {num} {int}. '-group' can
now take arguments for the form 'N,M'.
- New file: t/number/integer.t
- Comments for BML, INTERCAL (JP), and CQL.
- Regexp::Common::SEN nits.
- Many more tests.
- ca. 223k tests in 56 files.
WARNINGS:
INCOMPATIBLE CHANGE in version 2.119:
The $N settings for the -keep option of US postal codes
($RE {zip} {US} {-keep}) have been changed. See the
Regexp::Common::zip for details.
2.119 Sat Jan 1 17:57:01 CET 2005
- Changed -keep settings of $RE {zip} {US}.
- Replaced occurrences of '\d' with '[0-9]' in number.pm and net.pm,
because with Unicode more characters than just 0 - 9 will match '\d'.
- Moved part of the tests of t/test_comment.t into different
files in t/comment.
- t/Common.pm now also tests OO and sub versions.
- Fixed regex for J comments.
- $VERSION nit in Regexp::Common::URI::RFC2384
- POD nit in Regexp::Common::_support (Mike Castle)
- POD nit in Regexp::Common::comment.
- 176048 tests in 53 files.
2.118 Wed Dec 15 00:16:09 CET 2004
- Introduced Regexp::Common::_support.
- Disabled the '-prefix' option for Danish zip codes if the Perl
version is older than 5.005_03, as they triggered bugs. 5.005_03
and more recent versions of Perl don't have this problem.
- Fixed the generic OO routines. (They never worked correctly).
- 134191 tests in 49 files.
Set HOMEPAGE while here.
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").
binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.
addresses PR pkg/28619 from H. Todd Fujinaka.
2.117 Thu Jul 1 12:11:47 CEST 2004
- Fixed problems with squares and 32bit integer Perls.
- Pod nits in Regexp::Common (Jim Cromie)
- $VERSION fix in Regexp::Common::URI::RFCC2384 (Mike Arms)
- Discuss unwanted matching in Regexp::Common::net (Charles Thomas)
- 132238 tests in 48 files.
2.116 Wed Jun 30 11:37:45 CEST 2004
- Restricted recognition of squares to numbers less than
9000000000000000, to avoid problems with round-off errors.
- Fixed an off-by-one error in t/zip/spain.t which caused some
test to fail when they shouldn't.
- 132235 tests in 48 files.
2.115 Wed Jun 9 23:59:13 2004
- Patterns for comments of ABC, Caml, CLU, COBOL, ECMAScript,
Icon, J, JavaScript, Lisp, M, MUMPS.
- Patterns for postal codes of Norway, Italy and Spain.
- Patterns for US SSN.
- New way of doing tests using t::Common, giving more control
to test program.
- Random generators in t::Common.
- Cut down on tests in test_lingua_palindrome.t.
- Fixed bug in t/zip/australia.t could cause an infinite loop.
- 132225 tests in 48 files.
2.114 Sun May 25 21:34:56 2003
- Fix to t/zip/greenland.t to avoid generating valid zipcodes
when testing for failures.
- Fixes to t/URI/gopher.t and t/URI/wais.t to avoid warnings.
- Australian postal codes now accept '0909'. (Ron Savage)
- Added comments for 'C--', 'C#', 'Cg', 'Nickle', 'PL/SQL', 'QML'
and SLIDE.
- Fixed the assignment of the version number to $VERSION in 6 classes.
- 158287 tests in 44 files.
- 134 patterns in 11 classes and 12 subclasses.
and slightly modified by me.
By default, this module exports a single hash (`%RE') that stores or
generates commonly needed regular expressions. Patterns currently
provided include:
* balanced parentheses and brackets
* delimited text (with escapes)
* integers and floating-point numbers in any base (up to 36)
* comments in 44 languages
* offensive language
* lists of any pattern
* IPv4 addresses
* URIs.
* Zip codes.