Commit Graph

331 Commits

Author SHA1 Message Date
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
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