This commit is contained in:
parent
9ce26621e3
commit
0a51a6b963
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9182500abc517c833f054ad38e146776d5cc7e8976a8ad0c77432b790067f366
|
|
||||||
size 729915
|
|
3
pcre-7.2.tar.bz2
Normal file
3
pcre-7.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:290a85d4d043eaf324821f5de4acf263ebc4bd232a34c8d348d6254ecbd3c520
|
||||||
|
size 759104
|
74
pcre.changes
74
pcre.changes
@ -1,3 +1,77 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 23 15:22:40 CEST 2007 - ms@suse.de
|
||||||
|
|
||||||
|
- update to version 7.2, fixes bug: (#293752)
|
||||||
|
- Changes from 7.1 to 7.2
|
||||||
|
|
||||||
|
1. If the fr_FR locale cannot be found for test 3, try the "french" locale,
|
||||||
|
which is apparently normally available under Windows.
|
||||||
|
|
||||||
|
2. Re-jig the pcregrep tests with different newline settings in an attempt
|
||||||
|
to make them independent of the local environment's newline setting.
|
||||||
|
|
||||||
|
3. Add code to configure.ac to remove -g from the CFLAGS default settings.
|
||||||
|
|
||||||
|
4. Some of the "internals" tests were previously cut out when the link size
|
||||||
|
was not 2, because the output contained actual offsets. The recent new
|
||||||
|
"Z" feature of pcretest means that these can be cut out, making the tests
|
||||||
|
usable with all link sizes.
|
||||||
|
|
||||||
|
5. Implemented Stan Switzer's goto replacement for longjmp() when not using
|
||||||
|
stack recursion. This gives a massive performance boost under BSD, but just
|
||||||
|
a small improvement under Linux. However, it saves one field in the frame
|
||||||
|
in all cases.
|
||||||
|
|
||||||
|
6. Added more features from the forthcoming Perl 5.10:
|
||||||
|
|
||||||
|
(a) (?-n) (where n is a string of digits) is a relative subroutine or
|
||||||
|
recursion call. It refers to the nth most recently opened parentheses.
|
||||||
|
|
||||||
|
(b) (?+n) is also a relative subroutine call; it refers to the nth next
|
||||||
|
to be opened parentheses.
|
||||||
|
|
||||||
|
(c) Conditions that refer to capturing parentheses can be specified
|
||||||
|
relatively, for example, (?(-2)... or (?(+3)...
|
||||||
|
|
||||||
|
(d) \K resets the start of the current match so that everything before
|
||||||
|
is not part of it.
|
||||||
|
|
||||||
|
(e) \k{name} is synonymous with \k<name> and \k'name' (.NET compatible).
|
||||||
|
|
||||||
|
(f) \g{name} is another synonym - part of Perl 5.10's unification of
|
||||||
|
reference syntax.
|
||||||
|
|
||||||
|
(g) (?| introduces a group in which the numbering of parentheses in each
|
||||||
|
alternative starts with the same number.
|
||||||
|
|
||||||
|
(h) \h, \H, \v, and \V match horizontal and vertical whitespace.
|
||||||
|
|
||||||
|
7. Added two new calls to pcre_fullinfo(): PCRE_INFO_OKPARTIAL and
|
||||||
|
PCRE_INFO_JCHANGED.
|
||||||
|
|
||||||
|
8. A pattern such as (.*(.)?)* caused pcre_exec() to fail by either not
|
||||||
|
terminating or by crashing. Diagnosed by Viktor Griph; it was in the code
|
||||||
|
for detecting groups that can match an empty string.
|
||||||
|
|
||||||
|
9. A pattern with a very large number of alternatives (more than several
|
||||||
|
hundred) was running out of internal workspace during the pre-compile
|
||||||
|
phase, where pcre_compile() figures out how much memory will be needed. A
|
||||||
|
bit of new cunning has reduced the workspace needed for groups with
|
||||||
|
alternatives. The 1000-alternative test pattern now uses 12 bytes of
|
||||||
|
workspace instead of running out of the 4096 that are available.
|
||||||
|
|
||||||
|
10. Inserted some missing (unsigned int) casts to get rid of compiler warnings.
|
||||||
|
|
||||||
|
11. Applied patch from Google to remove an optimization that didn't quite work.
|
||||||
|
The report of the bug said:
|
||||||
|
|
||||||
|
pcrecpp::RE("a*").FullMatch("aaa") matches, while
|
||||||
|
pcrecpp::RE("a*?").FullMatch("aaa") does not, and
|
||||||
|
pcrecpp::RE("a*?\\z").FullMatch("aaa") does again.
|
||||||
|
|
||||||
|
12. If \p or \P was used in non-UTF-8 mode on a character greater than 127
|
||||||
|
it matched the wrong number of bytes.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 1 11:02:54 CEST 2007 - ms@suse.de
|
Tue May 1 11:02:54 CEST 2007 - ms@suse.de
|
||||||
|
|
||||||
|
58
pcre.spec
58
pcre.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package pcre (Version 7.1)
|
# spec file for package pcre (Version 7.2)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -12,10 +12,10 @@
|
|||||||
|
|
||||||
Name: pcre
|
Name: pcre
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
Version: 7.1
|
Version: 7.2
|
||||||
Release: 6
|
Release: 1
|
||||||
Summary: A library for Perl-compatible regular expressions
|
Summary: A library for Perl-compatible regular expressions
|
||||||
License: BSD License and BSD-like, Other uncritical OpenSource License
|
License: BSD 3-Clause, Other uncritical OpenSource License, PCRE LICENCE
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
URL: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
|
URL: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
|
||||||
@ -105,6 +105,56 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%_mandir/man3/*.gz
|
%_mandir/man3/*.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 23 2007 - ms@suse.de
|
||||||
|
- update to version 7.2, fixes bug: (#293752)
|
||||||
|
- Changes from 7.1 to 7.2
|
||||||
|
1. If the fr_FR locale cannot be found for test 3, try the "french" locale,
|
||||||
|
which is apparently normally available under Windows.
|
||||||
|
2. Re-jig the pcregrep tests with different newline settings in an attempt
|
||||||
|
to make them independent of the local environment's newline setting.
|
||||||
|
3. Add code to configure.ac to remove -g from the CFLAGS default settings.
|
||||||
|
4. Some of the "internals" tests were previously cut out when the link size
|
||||||
|
was not 2, because the output contained actual offsets. The recent new
|
||||||
|
"Z" feature of pcretest means that these can be cut out, making the tests
|
||||||
|
usable with all link sizes.
|
||||||
|
5. Implemented Stan Switzer's goto replacement for longjmp() when not using
|
||||||
|
stack recursion. This gives a massive performance boost under BSD, but just
|
||||||
|
a small improvement under Linux. However, it saves one field in the frame
|
||||||
|
in all cases.
|
||||||
|
6. Added more features from the forthcoming Perl 5.10:
|
||||||
|
(a) (?-n) (where n is a string of digits) is a relative subroutine or
|
||||||
|
recursion call. It refers to the nth most recently opened parentheses.
|
||||||
|
(b) (?+n) is also a relative subroutine call; it refers to the nth next
|
||||||
|
to be opened parentheses.
|
||||||
|
(c) Conditions that refer to capturing parentheses can be specified
|
||||||
|
relatively, for example, (?(-2)... or (?(+3)...
|
||||||
|
(d) \K resets the start of the current match so that everything before
|
||||||
|
is not part of it.
|
||||||
|
(e) \k{name} is synonymous with \k<name> and \k'name' (.NET compatible).
|
||||||
|
(f) \g{name} is another synonym - part of Perl 5.10's unification of
|
||||||
|
reference syntax.
|
||||||
|
(g) (?| introduces a group in which the numbering of parentheses in each
|
||||||
|
alternative starts with the same number.
|
||||||
|
(h) \h, \H, \v, and \V match horizontal and vertical whitespace.
|
||||||
|
7. Added two new calls to pcre_fullinfo(): PCRE_INFO_OKPARTIAL and
|
||||||
|
PCRE_INFO_JCHANGED.
|
||||||
|
8. A pattern such as (.*(.)?)* caused pcre_exec() to fail by either not
|
||||||
|
terminating or by crashing. Diagnosed by Viktor Griph; it was in the code
|
||||||
|
for detecting groups that can match an empty string.
|
||||||
|
9. A pattern with a very large number of alternatives (more than several
|
||||||
|
hundred) was running out of internal workspace during the pre-compile
|
||||||
|
phase, where pcre_compile() figures out how much memory will be needed. A
|
||||||
|
bit of new cunning has reduced the workspace needed for groups with
|
||||||
|
alternatives. The 1000-alternative test pattern now uses 12 bytes of
|
||||||
|
workspace instead of running out of the 4096 that are available.
|
||||||
|
10. Inserted some missing (unsigned int) casts to get rid of compiler warnings.
|
||||||
|
11. Applied patch from Google to remove an optimization that didn't quite work.
|
||||||
|
The report of the bug said:
|
||||||
|
pcrecpp::RE("a*").FullMatch("aaa") matches, while
|
||||||
|
pcrecpp::RE("a*?").FullMatch("aaa") does not, and
|
||||||
|
pcrecpp::RE("a*?\\z").FullMatch("aaa") does again.
|
||||||
|
12. If \p or \P was used in non-UTF-8 mode on a character greater than 127
|
||||||
|
it matched the wrong number of bytes.
|
||||||
* Tue May 01 2007 - ms@suse.de
|
* Tue May 01 2007 - ms@suse.de
|
||||||
- added --enable-unicode-properties configure option to support
|
- added --enable-unicode-properties configure option to support
|
||||||
UTF-8 character strings in \P, \p, and \X (#269749)
|
UTF-8 character strings in \P, \p, and \X (#269749)
|
||||||
|
Loading…
Reference in New Issue
Block a user