Nuno Lopes
2df29d5d4a
upgrade to pcre 7.6
2008-01-29 20:23:52 +00:00
Nuno Lopes
56173a3de8
spread some static keywords
2008-01-25 19:39:45 +00:00
Nuno Lopes
4592c892c6
MFB5.2: fix script for files with short names
2008-01-14 09:40:53 +00:00
Nuno Lopes
fe197abf66
MFB: fix bug #42945
2008-01-13 14:57:54 +00:00
Nuno Lopes
5da2171f41
upgrade to PCRE 7.5
2008-01-13 12:48:00 +00:00
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Jani Taskinen
4fc4814012
- Fixed bug #43365 (Several enums have trailing commas)
2007-11-26 10:58:28 +00:00
Robert Nicholson
b0601e161d
Add some more pcre tests
2007-11-21 18:23:02 +00:00
Nuno Lopes
a1edb43467
add test for bug #42737 .
...
HEAD didnt have this bug, as it uses a smarter way to iterate over utf-8 chars
2007-10-07 14:00:20 +00:00
Nuno Lopes
2514944be8
MFB: fix ZTS build
2007-10-07 12:21:05 +00:00
Nuno Lopes
bbe92ef947
MFB
2007-10-07 12:14:59 +00:00
Nuno Lopes
586bef4291
MFB: fix #37911
2007-10-07 12:09:02 +00:00
Yiduo (David) Wang
95da0dc570
Added macros for managing zval refcounts and is_ref statuses
2007-10-07 05:15:07 +00:00
Dmitry Stogov
8146078f7b
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:28:44 +00:00
Antony Dovgal
2b17f226b9
if one of regular expressions in the array fails, return NULL right away
...
this fixes "String is not zero-terminated" error and makes the behaviour consistent with regexps passed as strings
2007-09-20 08:10:20 +00:00
Nuno Lopes
c6ba92b7ac
MFB: remove HAVE_CONFIG_H
2007-09-11 16:19:14 +00:00
Nuno Lopes
b357cf9d9b
MFB: upgrade to PCRE 7.3
2007-09-01 18:01:44 +00:00
Antony Dovgal
41bda78bd2
fix segfault on shutdown due to UG(utf8_conv) being destroyed twice
2007-08-24 12:13:30 +00:00
Antony Dovgal
f41ab21d0b
fix test name
2007-08-24 12:06:03 +00:00
Antony Dovgal
0209e41563
add PCRE_VERSION constant to ext/pcre
2007-07-24 22:34:17 +00:00
Dmitry Stogov
1604924312
Fixed compilation warnings
2007-07-10 09:57:23 +00:00
Dmitry Stogov
4a49ce8b8f
Fixed preg_replace_callback() with callback defined by array
2007-07-10 09:11:35 +00:00
Dmitry Stogov
0b642b977a
PCRE unicode/binary support
2007-07-06 23:06:51 +00:00
foobar
f0f44a3652
- Fix some configure --help texts
2007-07-03 17:24:39 +00:00
Nuno Lopes
c89c4b3beb
new test
2007-06-19 17:33:02 +00:00
Nuno Lopes
0182e446ed
final PCRE 7.2 release
2007-06-19 17:13:42 +00:00
Nuno Lopes
c449991a3e
MFB: new tests
...
#they pass here, but segfault on php 5.2/pcre 7.0
2007-06-15 12:04:26 +00:00
Nuno Lopes
f02ff43715
upgrade to PCRE 7.2 RC3
...
add script to automate upgrade of the bundled PCRE lib
2007-06-14 19:43:42 +00:00
Scott MacVicar
428aec2a9e
Display PCRE ini entries as part of module info
2007-06-12 14:07:42 +00:00
Antony Dovgal
ccd97f3a21
fix test names
2007-05-07 17:23:53 +00:00
Nuno Lopes
1acf73af7f
fix test title
2007-05-07 15:24:37 +00:00
Nuno Lopes
dc4118e154
update bundled PCRE to version 7.2 RC1. if everything goes right, this will be merged later to php 5.x
2007-05-07 15:22:10 +00:00
Antony Dovgal
4713e0ab79
fix folding
2007-04-23 10:05:25 +00:00
Marcus Boerger
587009adcd
- Need to install headers
2007-03-25 12:53:31 +00:00
Antony Dovgal
61d2a8383d
don't emit any warnings in addition to an exception
2007-03-14 23:47:19 +00:00
Rob Richards
b85550e528
fix win build
2007-02-26 12:37:57 +00:00
Marcus Boerger
20a40063c5
- avoid sprintf
2007-02-24 16:25:58 +00:00
Antony Dovgal
546bbeb3d5
add SKIPIF sections to check if PCRE has the functionality tested/used
2007-02-12 14:22:02 +00:00
Nuno Lopes
66837ba30b
upgrade PCRE to version 7.0
2007-02-09 20:13:18 +00:00
Hannes Magnusson
75267ee88d
Revert pcrelib version string to 2006
2007-01-03 20:08:08 +00:00
Antony Dovgal
4c923b2753
revert this date to its previous state
2007-01-03 18:32:16 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Nuno Lopes
71cf54dc4c
new test
2006-12-19 21:47:16 +00:00
Antony Dovgal
c5edb5a75e
fix test on MacOS
2006-12-19 13:11:30 +00:00
Nuno Lopes
90496dbb26
MFB: new tests
2006-12-08 12:15:21 +00:00
Antony Dovgal
6aa5ed0d9c
partly fix #39724
...
ext/spl has a soft dependcy from ext/pcre (not ext/pcre-regex)
2006-12-04 18:01:24 +00:00
Nuno Lopes
75011c4d2c
add UEXPECT sections
2006-12-03 11:20:32 +00:00
Hannes Magnusson
79f1a51473
MFB: fix test on fbsd
2006-12-03 08:08:18 +00:00
Nuno Lopes
5819d83aeb
MFH (not tested. so some tests may fail in unicode mode)
2006-12-02 21:42:30 +00:00
Antony Dovgal
3049d59cba
fix #39112 (typo in error message)
2006-10-10 12:43:34 +00:00
Andrei Zmievski
a567622740
Initialize optional vars.
2006-10-09 19:54:38 +00:00
Hannes Magnusson
176b72284c
Error message clean up
...
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Antony Dovgal
df68f888ea
leaks--
...
fix test
2006-10-03 21:37:02 +00:00
Antony Dovgal
a264ef3348
fix tests
2006-10-03 21:18:43 +00:00
Antony Dovgal
496ff9808a
fix leak
2006-10-03 21:17:29 +00:00
Antony Dovgal
520ab72e19
don't forget to increase refcount when adding entry to the return_value
2006-10-03 20:42:57 +00:00
Andrei Zmievski
1fd91e40f8
Unicode support in preg_grep().
2006-09-19 20:41:56 +00:00
Andrei Zmievski
723baf6608
Upgrade preg_quote() to support Unicode.
2006-09-19 20:01:10 +00:00
Andrei Zmievski
5066424135
Fix offset calculation in add_offset_pair().
2006-09-19 17:37:48 +00:00
Antony Dovgal
ad1d0e6d65
fix tests
2006-09-19 11:49:21 +00:00
Antony Dovgal
5d42e808a3
fix leak in preg_split()
2006-09-19 11:48:59 +00:00
Andrei Zmievski
30d7168bbd
Upgrade preg_split() to support Unicode strings.
2006-09-18 20:16:36 +00:00
Andrei Zmievski
81b83f327b
More work on Unicode support in PCRE. When UG(unicode) is on, all
...
strings passed to PCRE have to be IS_UNICODE or IS_STRING in UTF-8
encoding. Failure to do so will result in unpredictable results.
2006-09-18 17:59:10 +00:00
Nuno Lopes
408a584d6e
MFB: fix memleak of pcre study data
2006-09-06 16:31:28 +00:00
Ilia Alshanetsky
f8c35ca367
Added missing defines needed for win32 build
2006-09-05 14:48:06 +00:00
Ilia Alshanetsky
30d213667e
MFB: Upgrade PCRE lib to 6.7
2006-08-30 20:00:59 +00:00
Antony Dovgal
a0a7595bbf
fix leak, add test
2006-08-30 16:46:23 +00:00
Antony Dovgal
c96c1465d8
add missing addref
...
now it works fine
2006-08-29 22:55:44 +00:00
Andrei Zmievski
de39f4561b
Check for is_utf8.
2006-08-29 22:52:37 +00:00
Andrei Zmievski
ac5c0797d8
More Unicode work.
2006-08-29 22:16:26 +00:00
Antony Dovgal
996d8d1226
fix PCRE tests
2006-08-29 22:12:31 +00:00
Andrei Zmievski
ff93bd421b
Add Unicode support for preg_match[_all]
2006-08-28 20:36:50 +00:00
Rob Richards
559937c8a5
tsrmls fix
2006-07-20 22:40:44 +00:00
Marcus Boerger
c2c5201872
- TSRM fixes
2006-07-20 22:07:09 +00:00
Marcus Boerger
8ff86b1e31
- WS
2006-07-20 21:52:40 +00:00
Marcus Boerger
6a0f2a5982
- Fix unicode expectations
2006-07-20 21:39:48 +00:00
Marcus Boerger
b5b5944ddf
- Clean up (after consulting Andrei)
...
. Change the handlers SPL uses to php_pcre_*_impl(pcre_cache_entry*,....)
. All refactored funcs (match, split, replace, grep) use the above
. Change (zend|php)_error() to php_error_docref()
. Move from old to new param parsing api
. Fix memleaks in unicode mode
2006-07-20 21:19:05 +00:00
Marcus Boerger
8dc11c8c28
- WS
2006-07-19 20:30:52 +00:00
Antony Dovgal
18d1c420d6
fix test
2006-07-18 09:23:05 +00:00
Nuno Lopes
068dfca1d7
MFB
2006-07-17 11:39:49 +00:00
Marcus Boerger
12edfef4d3
- TSRM Fix
2006-07-16 20:57:40 +00:00
Nuno Lopes
cb32fbe9d5
MFB
2006-07-16 19:36:23 +00:00
Marcus Boerger
ac3a58e52d
- Little bit refactoring: Two new PHPAPI functions:
...
. php_pcre_match
. php_pcre_split
2006-07-16 19:20:05 +00:00
Hannes Magnusson
302deb04d8
fix tests
2006-07-03 16:03:39 +00:00
Nuno Lopes
57801820f5
MFB
2006-07-03 14:55:49 +00:00
Hannes Magnusson
703e08015d
Fix test
2006-06-26 23:42:43 +00:00
Nuno Lopes
06f93f77f3
MFB: fix bug #37800
2006-06-15 15:35:50 +00:00
Nuno Lopes
4ee2074d12
MFB
2006-06-14 18:07:45 +00:00
Nuno Lopes
3b69def3e7
MFB: fix mem leak
2006-06-14 18:04:01 +00:00
Nuno Lopes
6b34ab5816
MFB: remove pcre_dfa_exec.c
2006-06-14 16:28:16 +00:00
Nuno Lopes
b5f20ceb48
MFB
2006-06-13 22:05:26 +00:00
Dmitry Stogov
943960c324
Added automatic module globals management
2006-06-13 13:12:20 +00:00
Antony Dovgal
b220c7779f
no need to check it for not-NULL (as was pointed by Nuno)
2006-05-29 21:31:30 +00:00
Antony Dovgal
0e639cea57
add test
2006-05-29 20:31:33 +00:00
Antony Dovgal
d5462c527a
return NULL in case of error (and fix leak/non-null-terminated string error)
2006-05-29 20:26:12 +00:00
Ilia Alshanetsky
af1877567e
MFB: Fixed bug #37586 (Bumped minimum PCRE version to 6.6, needed for
...
recurssion limit support).
2006-05-28 15:34:19 +00:00
Andrei Zmievski
96efa426b8
Add pcre_last_error() and backtrack/recursion limit settings.
2006-05-09 18:28:11 +00:00
Andrei Zmievski
589d830c32
Disallowed numeric named captures.
2006-04-07 21:20:10 +00:00
Andrei Zmievski
84a6481eff
That is not the bug you're looking for.
2006-04-06 22:37:42 +00:00
Andrei Zmievski
a389cb5a8c
Even more stuff from Friedl.
2006-04-06 22:02:02 +00:00