Stephane Chazelas
47c7bc9b14
52721: fix metafication and regexp/subject confusion in pcre_match error message
2024-03-09 11:45:46 +00:00
Oliver Kiddle
698af7bc13
52405, 52502: add empty elements to $match for optional captures that don't match
2024-01-26 07:33:38 +01:00
Oliver Kiddle
bad8af1808
52271: use correct form for unused parameter
2023-11-08 02:32:23 +01:00
Oliver Kiddle
de635b4ee5
52253: support pcre callouts with shell evaluation of the callout string
2023-11-02 14:54:59 +01:00
Oliver Kiddle
9f57ca4ac8
52252: Coverity defect 1547827
2023-11-01 00:34:29 +01:00
Oliver Kiddle
b4d1c756f5
51738: support pcre's alternative DFA matching algorithm
2023-05-13 00:59:00 +02:00
Oliver Kiddle
f3f371deb3
51728: assign pcre named capture groups to a hash
2023-05-13 00:56:48 +02:00
Oliver Kiddle
b62e911341
51723: migrate pcre module to pcre2
2023-05-13 00:53:32 +02:00
Jun-ichi Takimoto
1b421e4978
50658 + test: Enable to switch between C/UTF-8 locales in PCRE
2022-09-26 10:52:50 +09:00
Jun-ichi Takimoto
baedd62f0d
43219 (except term{cap,info}.c): fix several memory leaks
2018-07-31 22:15:58 +09:00
Mikael Magnusson
5c656716ff
42243: Free stuff properly in zsh/pcre module
2018-01-20 13:33:12 +01:00
Peter Stephenson
74aff4106a
41542: Fix pcre logic for extracting matched parentheses.
...
When we went off the end of the array but measured the length
implicitly, we got lucky before. After 41308 we were looking up lengths
in stale memory.
Rename some variables, clean up the logic, be easier to understand.
Add tests.
2017-08-14 11:17:48 +01:00
Phil Pennock
825f84c77e
41308 (tweaked): behaviour of PCRE with NUL bytes
2017-06-22 09:24:33 +01:00
Barton E. Schaefer
222dea055c
Mikael Berthe: 38307: PCRE segfault when parenthesized group matches nothing
...
unposted: regression test for 38307
2016-04-23 14:20:16 -07:00
Jun-ichi Takimoto
ca3bc0d95d
37838: use UNUSED() consistently
2016-01-30 00:26:23 +09:00
Barton E. Schaefer
5eae5b58b1
Jun T.: 37515: multibyte handling as per 35448.
2016-01-08 20:42:00 -08:00
Barton E. Schaefer
956829c18e
33122: typo from 32891 caused incorrect matches for pcre_match -n
2014-09-07 10:48:32 -07:00
Barton E. Schaefer
933a0c45d2
32898 (credit Jun T.): fix offset_start initialization bug in 32891
2014-07-23 08:40:11 -07:00
Barton E. Schaefer
2693d852f6
32891: CASE_MATCH for =~ when using pcre; fix pcre_match with empty string
2014-07-20 11:42:09 -07:00
Peter Stephenson
2d47270112
unposted: fix uninitialised variable warning in pcre
2012-01-06 10:08:53 +00:00
Peter Stephenson
cf4e27a129
29907: Jun T.: remove declaration of unused variable
2011-11-17 12:27:18 +00:00
Phil Pennock
2f3c16d40f
29838: metafy/unmetafy strings for PCRE matching (UTF-8 fixes)
2011-10-24 11:31:25 +00:00
Peter Stephenson
af68ff74cd
27608: fix memory for mbegin, mend & regexp test
2010-01-20 11:16:22 +00:00
Peter Stephenson
8890e6e19f
27600: extend =~ syntax to set positional variables for matches
2010-01-17 21:48:25 +00:00
Peter Stephenson
418671fdb0
Jon Strait: 26778, 26781: extra options for PCRE matching
2009-03-25 11:29:11 +00:00
Peter Stephenson
1b52f47cf2
23665: autoloading of module features and related tweaks
2007-07-06 21:52:38 +00:00
Peter Stephenson
b0c5f09169
see 23479: add initial features support for modules
2007-05-28 22:57:39 +00:00
Peter Stephenson
e4cdad9700
unposted: regex fix-ups: missing doc file plus pointer fixes
2007-05-02 11:13:14 +00:00
Peter Stephenson
7f03c3d851
23375: Phil Pennock: =~, zsh/regex etc. etc.
2007-05-01 22:05:03 +00:00
Clint Adams
aeaf47aeeb
23264: don't add the -pcre-match operator unless the pcre functions are available.
2007-04-05 16:20:11 +00:00
Peter Stephenson
dd5602f59b
22474: use variable argument lists to improve error message handling
2006-05-30 22:35:03 +00:00
Clint Adams
ceb7a09833
20091: Src/Modules/pcre.c: silence gcc "unused parameter" warnings.
2004-06-22 23:47:57 +00:00
Clint Adams
2dbe1c5436
* 19641: Src/Modules/pcre.c: implement -pcre-match conditional
...
suggested by Oliver.
2004-03-16 21:44:40 +00:00
Clint Adams
851c3882ed
* 19640: Src/Modules/pcre.c: improve error reporting a bit.
2004-03-16 19:41:00 +00:00
Clint Adams
befd90b847
* 19631: Doc/Zsh/mod_pcre.yo, Src/Modules/pcre.c: avoid segfault
...
when pcre_study is called before pcre_compile; documentation on
pcre_compile options.
2004-03-16 15:14:30 +00:00
Peter Stephenson
9634760d5e
17582: Improved option argument handling.
...
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2002-08-27 21:10:30 +00:00
Clint Adams
3dc88e102e
15250: still run setup even if pcre functions are unavailable
2001-07-06 18:04:39 +00:00
Clint Adams
b65dcc197b
15242: pcre_match -a and $match instead of pparams
2001-07-04 15:13:33 +00:00
Clint Adams
38833690cb
15228: AC_CHECK_LIB->AC_SEARCH_LIBS, set pparams with capture buffers
2001-07-03 16:42:36 +00:00
Clint Adams
bff61cf9e1
15211: zsh/pcre module
2001-07-02 19:39:34 +00:00