Andrei Zmievski
6863d70ef3
Use a copy of locale instead of the original. Fixes bug #19482 .
2002-10-07 17:16:23 +00:00
Wez Furlong
a2c6a6c186
Update bundled pcrelib to 3.9.
...
# Tested under Linux only
2002-09-14 14:45:35 +00:00
Andrei Zmievski
3f4a2b1b6a
@- Added ability to use Perl-style ${n} subpattern references in the
...
@ replacement string for preg_replace(). Takes care of bug #18442 . (Andrei)
2002-09-11 14:41:25 +00:00
Anantha Kesari H Y
76d94e57ab
NetWare related additions/modifications
2002-09-05 11:35:10 +00:00
Edin Kadribasic
35cd16f6bf
MFB (patch by Troels Arvin <troels@arvin.dk>).
...
Added pcre include path to global list of includes in order to allow
use of external pcre libs.
2002-07-23 13:07:29 +00:00
Andrei Zmievski
3650bab76f
Fix Bug #18341 .
...
@- Fixed cases where preg_split() incorrectly terminated final element if
@ it contained null byte. (Andrei)
2002-07-14 22:36:47 +00:00
foobar
b5e46c5e05
Fix build in ZTS mode
2002-06-13 01:04:40 +00:00
Andrei Zmievski
4f4b983a39
This patch adds ability to capture string offsets in the preg_match_*()
...
results.
2002-06-12 20:04:20 +00:00
Markus Fischer
9b1ec11184
- Typo.
2002-06-10 22:43:49 +00:00
Andrei Zmievski
001b4c71e4
This code adds string offset capturing in preg_split() results. Original
...
patch by David Brown, modified by me.
2002-05-23 17:22:05 +00:00
Andrei Zmievski
1668570e4d
Changing email address.
2002-05-13 17:28:38 +00:00
Andrei Zmievski
4acbbcf5a9
Revert bogus patch.
2002-04-19 17:23:22 +00:00
Derick Rethans
18a3f085aa
- Fix warnings in VC
2002-04-19 14:57:46 +00:00
jim winstead
d3400b2b5f
the 'setup' script was removed more than two years ago.
...
these can be safely removed from the 4.2 branch, too.
2002-03-16 00:21:40 +00:00
Sascha Schumann
1d06a3166c
remove old makefiles
2002-03-12 16:50:43 +00:00
Sascha Schumann
9d9d39a0de
Please welcome the new build system.
...
If you encounter any problems, please make sure to email sas@php.net
directly.
An introduction can be found on
http://schumann.cx/buildv5.txt
2002-03-07 14:20:02 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Andrei Zmievski
260aee10fe
Fix a long-standing infelicity that resulted in extra regex information
...
not being passed to PCRE functions.
2002-02-12 03:15:27 +00:00
Andrei Zmievski
51f1739983
Expose pcre_get_compiled_regex as an API function.
2002-02-12 03:00:05 +00:00
Andrei Zmievski
d0ed5b984c
- Fixed a bug with matching string containing null bytes.
2002-01-15 15:40:31 +00:00
Zeev Suraski
2f8284ca0a
Fix a warning and remove a printf() that slipped in...
2001-12-22 03:04:14 +00:00
Andrei Zmievski
0858fb4b73
@- Added flags parameter to preg_grep(). The only flag currently is
...
@ PREG_GREP_INVERT that will make the function return entries that
@ did not match. (Andrei)
2001-12-18 19:17:57 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
foobar
f1397d5339
Unified the configure messages.
2001-11-30 19:00:13 +00:00
Andrei Zmievski
3942e2a8bd
Fixed bug #13635 .
2001-11-10 23:45:00 +00:00
Rasmus Lerdorf
02e25f0a1e
# Butt-ugly looking code here, but I need regular expressions to do this.
...
Re-instated safe-mode realm mangling as it was in php 2 and 3 albeit
in a somewhat more robust way.
@ Re-instated safe-mode realm mangling (Rasmus)
2001-10-20 22:01:56 +00:00
Andrei Zmievski
a90e5f5a6b
@- Fixed a bug in preg_replace() that would change the type of the replacement
...
@ array entries to string. (Andrei)
2001-10-17 18:20:19 +00:00
Stig Bakken
689252082c
* zend_module_entry change: apino, debug and zts are moved first,
...
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +00:00
Sascha Schumann
23b9300fd1
more tsrm cleanup
2001-08-06 03:50:52 +00:00
Andrei Zmievski
8fca87adb5
Updated to match TSRM changes.
2001-07-30 15:41:11 +00:00
Zeev Suraski
c43806f415
Zend compatibility patch
2001-07-30 08:24:42 +00:00
Zeev Suraski
b0224d51da
Zend compatibility patch
2001-07-30 05:36:18 +00:00
Zeev Suraski
1c25b8dd53
Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way
2001-07-30 01:56:43 +00:00
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Zeev Suraski
fe6f8712a4
- Get rid of ELS_*(), and use TSRMLS_*() instead.
...
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
2001-07-27 10:16:41 +00:00
Rui Hirokawa
86ae8add13
added an option to support utf-8 in pcre.
2001-07-13 03:37:18 +00:00
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
2001-06-06 13:06:12 +00:00
Rasmus Lerdorf
25c3a3a39d
vim-6 does folding - clean up a bunch of missing folding tags plus
...
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
Stig Bakken
1beda9ee1e
* include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)
2001-05-24 10:07:29 +00:00
Andrei Zmievski
e1f671fb5c
Properly free callback_name only when necessary.
2001-05-20 01:21:44 +00:00
Andrei Zmievski
0ee9518396
Move -DSUPPORT_UTF8 flag into the appropriate Makefile so as not to pollute
...
the global namespace.
2001-05-18 15:34:58 +00:00
Andrei Zmievski
58f7df0ae4
Revert previous commit - callback_name does need to be checked because
...
it is set conditional on is_callable_replace.
2001-05-15 18:00:35 +00:00
Andrei Zmievski
eba50153ef
No need for check since callback_name is always filled in.
2001-05-14 12:58:48 +00:00
Sascha Schumann
afdaee9e47
Nuke more quotes
2001-05-12 11:09:05 +00:00
Wez Furlong
340c56e5c7
Fixed leak.
2001-05-12 00:45:55 +00:00
Andrei Zmievski
0eecec7773
@- Fixed a bug in preg_split() that would incorrectly limit the number of
...
@ results when used along with PREG_SPLIT_NO_EMPTY flag. (Andrei)
- Fixed a bug in preg_split() that would incorrectly limit the number of
results when used along with PREG_SPLIT_NO_EMPTY flag. (Andrei)
- Also made limit = -1 when limit = 0, to emulate Perl.
2001-05-04 16:43:53 +00:00
Sascha Schumann
c44da99842
Fix freeing of a NULL pointer
2001-04-22 17:20:03 +00:00
Andrei Zmievski
1a1018452c
@- Fixed a bug with /e modifier in preg_replace(), that would not correctly
...
@ replace two-digit references if single digit references were present
@ before them. This fixed bug #10218 . (Andrei)
2001-04-16 04:56:31 +00:00
foobar
8a26918ed1
Renamed the AC_ prefixed macros defined in acinclude.m4 to PHP_* prefixes.
...
# Heads up people! I tested this before committing but you never know..
2001-03-27 20:35:04 +00:00