Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | This commit was manufactured by cvs2svn to create tag 'before-sapi-split'.before-sapi-split | SVN Migration | 1999-09-26 | 1 | -59/+0 |
| | |||||
* | - Updated array functions to use high-performance API | Andrey Hristov | 1999-09-24 | 1 | -10/+22 |
| | | | | | - Updated preg_split() to allow returning only non-empty pieces | ||||
* | Update to new high-performance function API. | Andrey Hristov | 1999-09-24 | 1 | -64/+64 |
| | |||||
* | Small clarification. | Andrey Hristov | 1999-09-23 | 2 | -2/+4 |
| | |||||
* | improve short help messages | Sascha Schumann | 1999-09-16 | 2 | -6/+8 |
| | |||||
* | - Updated bundled PCRE library to version 2.08 | Andrey Hristov | 1999-09-14 | 34 | -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 Hristov | 1999-09-03 | 2 | -32/+27 |
| | |||||
* | Practice what you preach, I guess. | Andrey Hristov | 1999-09-03 | 2 | -15/+15 |
| | |||||
* | Missing return types in prototypes | Rasmus Lerdorf | 1999-08-26 | 1 | -3/+3 |
| | |||||
* | Here was also something missing | Egon Schmid | 1999-08-19 | 1 | -1/+2 |
| | |||||
* | - Fixed memory leaks. tsrm resource id deallocation still needs to be ↵ | Andi Gutmans | 1999-08-19 | 1 | -0/+2 |
| | | | | implemented. | ||||
* | make pcre test program compile again with Zeev's | Philippe Verdy | 1999-08-15 | 1 | -2/+4 |
| | | | | | additions in the pcre_exec() function parameters | ||||
* | Removed '3' from key functions in PHP (maintained compatibility through | Zeev Suraski | 1999-08-02 | 1 | -2/+2 |
| | | | | | php3_compat.h) | ||||
* | Another forgotten prototype. Andrey, why is preg_grep in PHP3 missing? | Egon Schmid | 1999-08-01 | 1 | -1/+2 |
| | |||||
* | *** empty log message *** | Andrey Hristov | 1999-07-22 | 1 | -2/+2 |
| | |||||
* | Added locale support. | Andrey Hristov | 1999-07-20 | 2 | -4/+33 |
| | |||||
* | -Kill compile warnings in apache.c | Andrey Hristov | 1999-07-17 | 1 | -34/+43 |
| | | | | | -Make preg_grep() work with copies of array entries | ||||
* | License update | Zeev Suraski | 1999-07-16 | 1 | -20/+9 |
| | |||||
* | *** empty log message *** | Andrey Hristov | 1999-07-12 | 2 | -2/+2 |
| | |||||
* | Don't touch refcount and EA directly | Zeev Suraski | 1999-07-09 | 1 | -4/+2 |
| | |||||
* | Step 2: | Zeev Suraski | 1999-07-09 | 1 | -2/+2 |
| | | | | | Rename is_ref to EA | ||||
* | Step 1 in nuking the garbage collector: | Zeev Suraski | 1999-07-09 | 1 | -1/+2 |
| | | | | | - Change the hash destructor to return int | ||||
* | Reduce clutter a bit. | Andrey Hristov | 1999-07-08 | 1 | -1/+1 |
| | |||||
* | Support PCRE under Win32 | Zeev Suraski | 1999-07-06 | 1 | -2/+5 |
| | |||||
* | avoid two copies of pcre.c in the repository | Zeev Suraski | 1999-07-06 | 2 | -1/+1 |
| | |||||
* | Correct option caching | Andrey Hristov | 1999-07-05 | 2 | -1/+7 |
| | |||||
* | Made preg_split() consistent with split(). | Andrey Hristov | 1999-06-22 | 2 | -60/+160 |
| | | | | | | Added a new /e modifier for preg_replace Kill a warning in pcrelib. | ||||
* | Added preg_grep() function. | Andrey Hristov | 1999-06-10 | 2 | -1/+90 |
| | |||||
* | A fix for a fix. | Andrey Hristov | 1999-06-09 | 1 | -1/+1 |
| | |||||
* | Fixed a bug in preg_split. | Andrey Hristov | 1999-06-09 | 1 | -3/+3 |
| | | | | | Fixed a bug in array_shift/array_pop. | ||||
* | Fixed a bug in preg_replace. | Andrey Hristov | 1999-06-09 | 1 | -5/+5 |
| | |||||
* | Added preg_quote() function. | Andrey Hristov | 1999-06-04 | 2 | -0/+66 |
| | |||||
* | *** empty log message *** | Andrey Hristov | 1999-06-04 | 1 | -0/+1 |
| | |||||
* | *** empty log message *** | Andrey Hristov | 1999-06-01 | 2 | -2/+2 |
| | |||||
* | preg_match_all() now returns the number of global matches. | Andrey Hristov | 1999-05-30 | 1 | -5/+2 |
| | |||||
* | Updated preg_split(). | Andrey Hristov | 1999-05-29 | 1 | -11/+17 |
| | |||||
* | Fix preg_match_all to do proper matching with \b. | Andrey Hristov | 1999-05-29 | 1 | -9/+14 |
| | |||||
* | Fixed PCRE so that global matching with patterns with \b works. | Andrey Hristov | 1999-05-29 | 4 | -9/+22 |
| | |||||
* | * Get Apache module to compile again with the regex stuff. | Zeev Suraski | 1999-05-28 | 2 | -4/+4 |
| | | | | | * Get Apache to propertly work with POST, and some SAPI fixes | ||||
* | -Modified PCRE library slightly to do what needs to be done | Andrey Hristov | 1999-05-28 | 7 | -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 Hristov | 1999-05-27 | 2 | -4/+0 |
| | |||||
* | Really fix the configuration now so that it's possible to compile both | Andrey Hristov | 1999-05-27 | 5 | -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 Schumann | 1999-05-27 | 5 | -98/+15 |
| | |||||
* | Fix pcre build | Zeev Suraski | 1999-05-27 | 1 | -1/+1 |
| | |||||
* | -Added PCRE library source | Andrey Hristov | 1999-05-26 | 34 | -29/+21013 |
| | | | | | -Updated configuration process | ||||
* | Added preg_split. Same syntax as regular split(). | Andrey Hristov | 1999-05-26 | 2 | -7/+103 |
| | |||||
* | A few changes here. | Andrey Hristov | 1999-05-26 | 2 | -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 Hristov | 1999-05-22 | 1 | -67/+57 |
| | |||||
* | Added ability to pass array parameters to pcre_replace. | Andrey Hristov | 1999-05-22 | 1 | -31/+135 |
| | |||||
* | -Added regex cache | Andrey Hristov | 1999-05-21 | 2 | -18/+116 |
| | | | | | -Made module thread-safe |