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
Andrei Zmievski
7272c63055
More stuff from Friedl..
2006-04-06 21:23:56 +00:00
Andrei Zmievski
f37190dc57
MFB
2006-04-06 21:16:28 +00:00
Dmitry Stogov
22055cb8fd
Dropped register_long_arrays, added E_CORE for all dropped setting
2006-03-16 09:44:42 +00:00
Pierre Joye
bb1ec86f9d
- remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
...
(calling ini_set('magic_....') returns 0|false
- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false
- set_magic_quotes_runtime raises an E_CORE_ERROR
2006-03-08 00:43:32 +00:00
Sebastian Bergmann
1ed4c0b446
MFB: Fix build and sync parameters with config0.m4.
2006-03-06 22:50:43 +00:00
Andrei Zmievski
18283d39ad
Import PCRE 6.6 and make adjustments.
2006-03-06 21:34:07 +00:00
Dmitry Stogov
0f1209ab3d
Portable unicode string API:
...
- use the same type (int) for zval.value.usr.len and zval.value.str.len
- use union "zstr" as char*/UChar* mixture instead of void*
- Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
- nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Dmitry Stogov
56b0eb7248
Fixed test file
2006-02-20 08:39:38 +00:00
Andrei Zmievski
31f74bc7a5
NULL byte should be escaped to \000 instead of \0 in case it is followed
...
by an octal digit. (found by Jeffrey Friedl)
2006-02-17 21:17:44 +00:00
foobar
251c5173fd
bump year and license version
2006-01-01 13:10:10 +00:00
foobar
a208d9a966
- Nuke php3 legacy
2005-12-06 02:28:26 +00:00
Michael Wallner
dd947297fe
- export everything we've got aliases for
2005-12-01 21:08:17 +00:00
Michael Wallner
4323354ee0
- use php_pcre aliases
2005-12-01 20:53:04 +00:00
Michael Wallner
9bae4e12e4
- ext/filter will need those exports
...
# php_compat.h still prevents linking
2005-12-01 20:07:01 +00:00
Antony Dovgal
0c110a93d2
MF51: change "-o" to "||" to support weird systems with broken test
2005-11-29 18:38:48 +00:00