summaryrefslogtreecommitdiff
path: root/ext/pcre
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tag 'before-sapi-split'.before-sapi-splitSVN Migration1999-09-261-59/+0
|
* - Updated array functions to use high-performance APIAndrey Hristov1999-09-241-10/+22
| | | | | - Updated preg_split() to allow returning only non-empty pieces
* Update to new high-performance function API.Andrey Hristov1999-09-241-64/+64
|
* Small clarification.Andrey Hristov1999-09-232-2/+4
|
* improve short help messagesSascha Schumann1999-09-162-6/+8
|
* - Updated bundled PCRE library to version 2.08Andrey Hristov1999-09-1434-373/+6362
| | | | | | | | - Made it possible to specify external location of the PCRE library - Reworked PCRE extension to use updated PCRE library API Hopefully now everything behaves just like Perl..
* Static is good...Andrey Hristov1999-09-032-32/+27
|
* Practice what you preach, I guess.Andrey Hristov1999-09-032-15/+15
|
* Missing return types in prototypesRasmus Lerdorf1999-08-261-3/+3
|
* Here was also something missingEgon Schmid1999-08-191-1/+2
|
* - Fixed memory leaks. tsrm resource id deallocation still needs to be ↵Andi Gutmans1999-08-191-0/+2
| | | | implemented.
* make pcre test program compile again with Zeev'sPhilippe Verdy1999-08-151-2/+4
| | | | | additions in the pcre_exec() function parameters
* Removed '3' from key functions in PHP (maintained compatibility throughZeev Suraski1999-08-021-2/+2
| | | | | php3_compat.h)
* Another forgotten prototype. Andrey, why is preg_grep in PHP3 missing?Egon Schmid1999-08-011-1/+2
|
* *** empty log message ***Andrey Hristov1999-07-221-2/+2
|
* Added locale support.Andrey Hristov1999-07-202-4/+33
|
* -Kill compile warnings in apache.cAndrey Hristov1999-07-171-34/+43
| | | | | -Make preg_grep() work with copies of array entries
* License updateZeev Suraski1999-07-161-20/+9
|
* *** empty log message ***Andrey Hristov1999-07-122-2/+2
|
* Don't touch refcount and EA directlyZeev Suraski1999-07-091-4/+2
|
* Step 2:Zeev Suraski1999-07-091-2/+2
| | | | | Rename is_ref to EA
* Step 1 in nuking the garbage collector:Zeev Suraski1999-07-091-1/+2
| | | | | - Change the hash destructor to return int
* Reduce clutter a bit.Andrey Hristov1999-07-081-1/+1
|
* Support PCRE under Win32Zeev Suraski1999-07-061-2/+5
|
* avoid two copies of pcre.c in the repositoryZeev Suraski1999-07-062-1/+1
|
* Correct option cachingAndrey Hristov1999-07-052-1/+7
|
* Made preg_split() consistent with split().Andrey Hristov1999-06-222-60/+160
| | | | | | Added a new /e modifier for preg_replace Kill a warning in pcrelib.
* Added preg_grep() function.Andrey Hristov1999-06-102-1/+90
|
* A fix for a fix.Andrey Hristov1999-06-091-1/+1
|
* Fixed a bug in preg_split.Andrey Hristov1999-06-091-3/+3
| | | | | Fixed a bug in array_shift/array_pop.
* Fixed a bug in preg_replace.Andrey Hristov1999-06-091-5/+5
|
* Added preg_quote() function.Andrey Hristov1999-06-042-0/+66
|
* *** empty log message ***Andrey Hristov1999-06-041-0/+1
|
* *** empty log message ***Andrey Hristov1999-06-012-2/+2
|
* preg_match_all() now returns the number of global matches.Andrey Hristov1999-05-301-5/+2
|
* Updated preg_split().Andrey Hristov1999-05-291-11/+17
|
* Fix preg_match_all to do proper matching with \b.Andrey Hristov1999-05-291-9/+14
|
* Fixed PCRE so that global matching with patterns with \b works.Andrey Hristov1999-05-294-9/+22
|
* * Get Apache module to compile again with the regex stuff.Zeev Suraski1999-05-282-4/+4
| | | | | * Get Apache to propertly work with POST, and some SAPI fixes
* -Modified PCRE library slightly to do what needs to be doneAndrey Hristov1999-05-287-104/+58
| | | | | | | -Updated preg_replace() code to handle stuff properly -Removed ability to specify external PCRE library source to link against (since our bundled version is patched now)
* We don't need those there.Andrey Hristov1999-05-272-4/+0
|
* Really fix the configuration now so that it's possible to compile bothAndrey Hristov1999-05-275-25/+41
| | | | | | against the bundled PCRE library and the one external to the source tree. Crossing my fingers while Zeev compiles this. :)
* - fix CGI build (at least)Sascha Schumann1999-05-275-98/+15
|
* Fix pcre buildZeev Suraski1999-05-271-1/+1
|
* -Added PCRE library sourceAndrey Hristov1999-05-2634-29/+21013
| | | | | -Updated configuration process
* Added preg_split. Same syntax as regular split().Andrey Hristov1999-05-262-7/+103
|
* A few changes here.Andrey Hristov1999-05-262-54/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First of all, as per extensive discussion on the list, the functions are now prefixed with "preg" instead of "pcre". Secondly, global matching is now possible using preg_match_all. Please, give suggestions on a better name if this one doesn't sit well with you. Possible names are preg_global_match and preg_gmatch. preg_match_all takes 4 arguments: a regex pattern, a subject string, the array for capturing subpatterns, and a parameter that tells how the results in the subpatterns array are arranged. Basically, preg_match_all will go through the subject string and try to capture all the matches that it finds, not just the first one like preg_match. 4th parameter can be PREG_PATTERN_ORDER (default) or PREG_SET_ORDER. Example: preg_match_all("|</?([^>]+)>|", "<div align=left>a test</div>", $out, PREG_PATTERN_ORDER); This returns results so that $out[0] is an array of full pattern matches, $out[1] is an array of first captured subpattern matches, and so on. $out[0] -> ("<div align=left>", "</div>") $out[1] -> ("div align=left", "div") Example: preg_match_all("|</?([^>]+)>|", "<div align=left>a test</div>", $out, PREG_SET_ORDER); This returns results so that $out[0] is an array of first full pattern match and subpatterns, $out[1] is an array of second full pattern match and subpatterns. $out[0] -> ("<div align=left>", "div align=left") $out[1] -> ("</div>", "div") If anyone has a better name for these PREG_ constants and also which one should be the default, I'd like to hear it.
* Some comments.Andrey Hristov1999-05-221-67/+57
|
* Added ability to pass array parameters to pcre_replace.Andrey Hristov1999-05-221-31/+135
|
* -Added regex cacheAndrey Hristov1999-05-212-18/+116
| | | | | -Made module thread-safe