Felipe Pena
f4927c28bc
- Fixed bug #52732 (Docs say preg_match() returns FALSE on error, but it returns int(0))
...
patch by: slugonamission at gmail dot com
2010-11-06 18:32:10 +00:00
Felipe Pena
090a9b3331
- Fixed bug #52971 (PCRE-Meta-Characters not working with utf-8)
...
# In PCRE, by default, \d, \D, \s, \S, \w, and \W recognize only ASCII
# characters, even in UTF-8 mode. However, this can be changed by setting
# the PCRE_UCP option.
2010-10-03 16:01:38 +00:00
Kalle Sommer Nielsen
8deefa8780
Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED ( Fixes #52570 )
...
# Trunk patch will follow shortly
2010-08-11 21:12:18 +00:00
Dmitry Stogov
7bfe056174
Fixed tests
2009-09-21 09:52:19 +00:00
Zoe Slattery
9ff94c82df
Remove empty sections. Fix bad use of --SKIP--
2009-07-21 14:02:24 +00:00
andy wharmby
0fbf8cebd7
Fix test
2009-06-23 23:00:55 +00:00
Jani Taskinen
996eab8983
- Fixed ini deprecation message issues in tests.
...
# CGI headers are stripped and the error ends up there with CGI..
2009-05-06 20:32:00 +00:00
Kalle Sommer Nielsen
5a6d3cc42b
Added E_DEPRECATED startup notice (5.3 only)
2009-05-04 21:18:22 +00:00
Arnaud Le Blanc
1bef730840
MFH
2009-04-25 21:13:07 +00:00
Arnaud Le Blanc
54958dbc7c
MFH
2009-04-24 17:14:32 +00:00
Nuno Lopes
ae57857eba
fix bug #47662 : support more than 127 named subpatterns
2009-04-10 15:47:15 +00:00
Nuno Lopes
4ff9ad5bf1
fix bug #47229 : preg_quote should escape '-'
2009-01-28 22:39:33 +00:00
andy wharmby
1f56f22fa3
New pcre extension tests. Tested on Windows, Linux and Linux 64-bit
2009-01-07 14:52:26 +00:00
Felipe Pena
ade487e693
- Opss, reverted accidental changes
2008-11-03 13:07:28 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Nuno Lopes
426a1251f6
remove unicode skipif, as the test doesnt require such support
2008-08-31 15:28:35 +00:00
Marcus Boerger
42eb47d500
- MFH preg_filter()
...
# As discussed with Lukas
# [DOC] check out the test
2008-08-29 12:13:54 +00:00
Nuno Lopes
f797495527
after rereading the documentation about preg_grep(), lets match the behavior in HEAD (return the original array elements instead of the new string).
...
tune the test accordingly
2008-08-14 14:37:39 +00:00
Nuno Lopes
31c657b3bb
Fixed bug #44925 (preg_grep() modifies input array)
2008-08-14 13:12:42 +00:00
Felipe Pena
235aab6c0f
- New parameter parsing API (to preg_replace*)
...
- Fixed related tests
2008-06-30 17:14:48 +00:00
Nuno Lopes
634fef42d6
fix bug #44214 : crash with preg_replace_callback and global variables
2008-03-08 13:01:59 +00:00
Nuno Lopes
0d0a7a432a
add new tests
2008-03-08 11:50:20 +00:00
Felipe Pena
3fd8ccb092
Fix test
2008-02-21 14:22:41 +00:00
Antony Dovgal
9609e195e9
fix test
2008-02-21 13:39:04 +00:00
Felipe Pena
d427b55b1a
New test
2008-02-20 21:57:05 +00:00
Nuno Lopes
18107c0b44
Fixed bug #42945 (preg_split() swallows part of the string)
2008-01-13 14:44:29 +00:00
Robert Nicholson
6cfced8eff
Add some more pcre tests
2007-11-21 18:22:01 +00:00
Nuno Lopes
66a24c86a6
Fixed bug #42737 (preg_split('//u') triggers a E_NOTICE with newlines)
2007-10-07 13:57:10 +00:00
Nuno Lopes
424db6feb9
fix bug #37911 : preg_replace_callback ignores named groups
2007-10-07 11:48:27 +00:00
Antony Dovgal
f67c0222fe
MFH
2007-09-20 08:10:44 +00:00
Nuno Lopes
a3e6be974f
new test
2007-09-01 17:47:13 +00:00
Nuno Lopes
a2e06e6dc8
new test
2007-06-19 17:32:36 +00:00
Nuno Lopes
17db5db759
add tests for pcre 7.0 regression
...
update to pcre 7.2 will follow soon
2007-06-15 11:57:08 +00:00
Antony Dovgal
1f65545121
fix test names
2007-05-07 18:03:01 +00:00
Nuno Lopes
877b7c7ea7
fix test title
2007-05-07 15:23:53 +00:00
Antony Dovgal
f6536ed2b2
MFH: remove unnecessary warning in case of exception
2007-03-14 23:47:44 +00:00
Antony Dovgal
b877bb70de
MFH: fix pcre tests
2007-02-12 14:22:19 +00:00
Nuno Lopes
da9f515648
new test to keep track of the reported pcre regression
2007-02-09 20:00:17 +00:00
Nuno Lopes
6a8a2e8b0e
new test
2006-12-19 21:46:48 +00:00
Antony Dovgal
c34d863d3e
MFH
2006-12-19 13:15:39 +00:00
Nuno Lopes
802e12674e
add tests for old bug reports
2006-12-08 12:13:23 +00:00
Hannes Magnusson
f61b9635ba
Fix test on fbsd
2006-12-03 08:04:57 +00:00
Nuno Lopes
0df2a37d1b
new tests. increase coverage for more than 90%
2006-12-02 21:39:28 +00:00
Antony Dovgal
b4974d5e68
MFH: fix #39112 (typo in error message)
2006-10-10 12:44:02 +00:00
Antony Dovgal
f231b76ba6
fix leak, add test
2006-08-30 16:46:59 +00:00
Marcus Boerger
6fb763c4f9
- MFH 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 22:53:07 +00:00
Antony Dovgal
b45268a07a
fix test
2006-07-18 09:22:32 +00:00
Nuno Lopes
7a38509835
new test
2006-07-17 11:39:13 +00:00
Nuno Lopes
717ca4ef55
new tests. almost 90% of code coverage
2006-07-16 19:35:09 +00:00
Hannes Magnusson
87bc74ea7a
fix tests
2006-07-03 16:03:51 +00:00