summaryrefslogtreecommitdiff
path: root/regexp.h
Commit message (Collapse)AuthorAgeFilesLines
* Minor perlreapi.pod cleanupÆvar Arnfjörð Bjarmason2007-05-201-2/+11
| | | | | | From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com> Message-ID: <51dd1af80705160938w13789b63m6d5f4710441ceac@mail.gmail.com> p4raw-id: //depot/perl@31244
* FETCH/STORE/LENGTH callbacks for numbered capture variablesÆvar Arnfjörð Bjarmason2007-05-031-5/+9
| | | | | | From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com> Message-ID: <51dd1af80705011658g1156e14cw4d2b21a8d772ed41@mail.gmail.com> p4raw-id: //depot/perl@31130
* tweak some regexp params to avoid warningsYves Orton2007-05-021-2/+2
| | | | | Message-ID: <9b18b3110705011446h2113221cndf70af928d72505@mail.gmail.com> p4raw-id: //depot/perl@31118
* Re: [PATCH] Cleanup of the regexp APIÆvar Arnfjörð Bjarmason2007-04-301-12/+14
| | | | | | From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com> Message-ID: <51dd1af80704261922j3db0615wa86ccc4cb65b2713@mail.gmail.com> p4raw-id: //depot/perl@31106
* Re: [PATCH (incomplete)] Make regcomp use SV* sv, instead of char* exp, ↵Ævar Arnfjörð Bjarmason2007-04-231-1/+1
| | | | | | | char* xend Message-ID: <51dd1af80704211430m6ad1b4afy49b069faa61e33a9@mail.gmail.com> p4raw-id: //depot/perl@31027
* Re: Proposed changes and to regular expression interfaces in coreÆvar Arnfjörð Bjarmason2007-04-061-0/+1
| | | | | | From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com> Message-ID: <51dd1af80703291552y1073bcb6r954b043eb68a4459@mail.gmail.com> p4raw-id: //depot/perl@30849
* Re: pmdynflags and thread safetyYves Orton2007-04-041-2/+4
| | | | | Message-ID: <9b18b3110704031646p7ac8dbearf9e41397a5f884d8@mail.gmail.com> p4raw-id: //depot/perl@30841
* Reorder the members of various regexp structs to reduce their size onNicholas Clark2007-03-311-10/+10
| | | | | | | | LP64 platforms, by pairing up I32 and U32 members. Notably structs _reg_trie_data, reg_ac_data, regexp and regmatch_state down by 8 bytes, re_save_state by 16, and regmatch_slab up by 48 (ie one more state per slab) p4raw-id: //depot/perl@30815
* precomp in struct regexp can be const char *.Nicholas Clark2007-03-311-1/+2
| | | p4raw-id: //depot/perl@30812
* In struct regexp replace the two arrays of I32s accessed via startpNicholas Clark2007-03-261-12/+8
| | | | | | | | | | and endp with a single array of struct regexp_paren_pair, which has 2 I32 members. PL_regstartp and PL_regendp are replaced with a pointer to regexp_paren_pair. The regexp swap structure now only has one member, so abolish it and store the pointer to the swap array directly. Hopefully keeping the corresponding start and end adjacent in memory will help with cache coherency. p4raw-id: //depot/perl@30769
* Resolve PL_curpm issues with (??{}) and fix corruption of match results when ↵Yves Orton2007-03-221-1/+11
| | | | | | | | | pattern is a qr. Message-ID: <9b18b3110703210239x540f5ad9mdb41c2ea6229ac31@mail.gmail.com> plus two follow-up patches (minor tweaks) p4raw-id: //depot/perl@30678
* Re: Regexp recursion limit too low?Yves Orton2007-02-261-1/+1
| | | | | Message-ID: <9b18b3110702150822o13a4f240g86463c60e625fb8f@mail.gmail.com> p4raw-id: //depot/perl@30412
* Allow to override MAX_RECURSE_EVAL_NOCHANGE_DEPTH,Rafael Garcia-Suarez2007-02-141-0/+2
| | | | | introduced in change 28939 (this should be documented) p4raw-id: //depot/perl@30293
* Re: [PATCH] Document that m//k worksYves Orton2007-02-141-2/+6
| | | | | Message-ID: <9b18b3110702131304q370f3530j463c1a59c5ac1dfe@mail.gmail.com> p4raw-id: //depot/perl@30278
* add hooks for capture buffers into regex engine.Yves Orton2007-02-131-0/+2
| | | | | Message-ID: <9b18b3110702131127q79cc6df1lb1480d9a40d15213@mail.gmail.com> p4raw-id: //depot/perl@30265
* Re: prerelease checklist for Perl 5.10Yves Orton2007-02-031-29/+49
| | | | | | | | | | | | | | | Date: Thu, 1 Feb 2007 17:06:37 +0100 Message-ID: <9b18b3110702010806n7e095317v77f5dc1eb765f8d@mail.gmail.com> Subject: Re: prerelease checklist for Perl 5.10 From: demerphq <demerphq@gmail.com> Date: Fri, 2 Feb 2007 18:10:14 +0100 Message-ID: <9b18b3110702020910l31c7784fi5e37bf777b6eafb3@mail.gmail.com> Regular expression changes to fix failing tests in XML::Twig and Mail::SpamAssassin. The breakages occured in changes #28785 and #29279. p4raw-id: //depot/perl@30104
* Improve regex stringification codeYves Orton2007-01-311-1/+31
| | | | | Message-ID: <9b18b3110701301458k2f6a8254hea6c6db28489c38b@mail.gmail.com> p4raw-id: //depot/perl@30084
* Re: [PATCH] Add support for /k modfier for matching along with ${^PREMATCH}, ↵Yves Orton2007-01-151-5/+5
| | | | | | | | | ${^MATCH}, ${^POSTMATCH} Message-ID: <9b18b3110701130818h6badbd3o1b38f2660d258173@mail.gmail.com> macroize regexp modifiers p4raw-id: //depot/perl@29834
* Add support for /k modfier for matching along with ${^PREMATCH}, ${^MATCH}, ↵Yves Orton2007-01-151-2/+10
| | | | | | | | ${^POSTMATCH} Message-ID: <9b18b3110701111731x29b1c63i57b1698f769b3bbc@mail.gmail.com> (with tweaks) p4raw-id: //depot/perl@29831
* Add Regexp::Keep \K functionality to regex engine as well as add \v and \V, ↵Yves Orton2007-01-111-0/+4
| | | | | | | | | cleanup and more docs for regatom() Message-ID: <9b18b3110701101133i46dc5fd0p1476a0f1dd1e9c5a@mail.gmail.com> (plus POD nits by Merijn and myself) p4raw-id: //depot/perl@29756
* Let the regex parser decide if we have a special pattern or not.Yves Orton2007-01-091-12/+18
| | | | | Message-ID: <9b18b3110701081546n2c3f19acy29adc0d233bb848c@mail.gmail.com> p4raw-id: //depot/perl@29730
* Update copyright years in .h files. Also, in .plRafael Garcia-Suarez2007-01-051-1/+1
| | | | | | files that generate .h files, so they'll be ready next time. p4raw-id: //depot/perl@29695
* Further tweaks to make it easier to create regexp engine plug ins.Yves Orton2006-12-051-18/+16
| | | | | | | Message-ID: <9b18b3110612050713g77cac516x46fb5baac99b47c9@mail.gmail.com> (with tweaks) p4raw-id: //depot/perl@29468
* Better version of last patch, by Yves Orton.Rafael Garcia-Suarez2006-12-041-19/+0
| | | | | | Actually the regexp engine structure only needs one compilation function hook. p4raw-id: //depot/perl@29459
* The new regexp compilation function must be added to the engine structure.Rafael Garcia-Suarez2006-12-041-0/+1
| | | p4raw-id: //depot/perl@29458
* Continue split of perl internal regexp structures from ones that are engine ↵Yves Orton2006-12-011-31/+29
| | | | | | | specific. Message-ID: <9b18b3110611301306p5cad5deal4aa55559b8c8defd@mail.gmail.com> p4raw-id: //depot/perl@29430
* Re: [PATCH] Cleanup regexp flags and structureYves Orton2006-11-231-1/+8
| | | | | | | | Message-ID: <9b18b3110611231021l561a9cb4te985db3f0648e097@mail.gmail.com> Attached patch completes the splitting out of the core from the regexp internal data. p4raw-id: //depot/perl@29368
* Cleanup regexp flags and structureYves Orton2006-11-231-74/+126
| | | | | Message-ID: <9b18b3110611230336p3ce3b16du47cd5398dea8d873@mail.gmail.com> p4raw-id: //depot/perl@29360
* \G with /g results in infinite loop in 5.6 and laterYves Orton2006-11-221-0/+2
| | | | | Message-ID: <9b18b3110611220811k1a54f650t1bd7c6a9450b0a7e@mail.gmail.com> p4raw-id: //depot/perl@29354
* Remove duplicate declarationRafael Garcia-Suarez2006-11-161-2/+0
| | | p4raw-id: //depot/perl@29295
* Re: [PATCH] Fix RT#19049 and add relative backreferencesYves Orton2006-11-151-1/+6
| | | | | Message-ID: <9b18b3110611150329l206e4552w887ae5f0a3f7ca80@mail.gmail.com> p4raw-id: //depot/perl@29279
* Fwd: Memory leak with s/// and hashesYves Orton2006-11-141-4/+0
| | | | | Message-ID: <9b18b3110611131538kc00175ft4db7ff71df22e766@mail.gmail.com> p4raw-id: //depot/perl@29268
* Re: [PATCH] New regex syntax omnibusYves Orton2006-11-131-3/+8
| | | | | Message-ID: <9b18b3110611090809l667860c9t6c27453d7c86a21e@mail.gmail.com> p4raw-id: //depot/perl@29260
* Regex Utility Functions and Substituion Fix (XML::Twig core dump)Yves Orton2006-11-131-1/+3
| | | | | | | | Message-ID: <9b18b3110611121429g1fc9d6c1t4007dc711f9e8396@mail.gmail.com> Plus a couple tweaks to ext/re/re.pm and t/op/pat.t to those patches to apply cleanly. p4raw-id: //depot/perl@29252
* ***speculative*** was RE: [PATCH] regexec.c - silence compiler warningRobin Barker2006-11-091-3/+3
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <2C2E01334A940D4792B3E115F95B7226120AA6@exchsvr1.npl.ad.local> p4raw-id: //depot/perl@29241
* New regex syntax omnibusYves Orton2006-11-071-1/+10
| | | | | | | | Message-ID: <9b18b3110611060406u2fa1572as57073949a5df9e62@mail.gmail.com> Plus a portability fix (in string comparison for regex verbs) and doc tweaks / podchecker fixes p4raw-id: //depot/perl@29222
* Add more backtracking control verbs to regex engine (?CUT), (?ERROR)Yves Orton2006-11-021-0/+1
| | | | | Message-ID: <9b18b3110611020335h7ea469a8g28ca483f6832816d@mail.gmail.com> p4raw-id: //depot/perl@29189
* Fix a problem with jump-tries, add (?FAIL) pattern.Yves Orton2006-10-261-2/+2
| | | | | Message-ID: <9b18b3110610260559k3efa98barc28987e88c581a8a@mail.gmail.com> p4raw-id: //depot/perl@29118
* Re: [PATCH] Initial attempt at named captures for perls regexp engineYves Orton2006-10-071-1/+2
| | | | | Message-ID: <9b18b3110610061016x5ddce965u30d9a821f632d450@mail.gmail.com> p4raw-id: //depot/perl@28957
* remove REGMATCH detritus and shrink the size of the backtrack structureDave Mitchell2006-10-051-16/+2
| | | p4raw-id: //depot/perl@28945
* migrate CURLYX/WHILEM branch in regmatch() to new FSM-esque paradigmDave Mitchell2006-10-051-16/+18
| | | p4raw-id: //depot/perl@28944
* Re: [PATCH] Add recursive regexes similar to PCREYves Orton2006-10-051-0/+4
| | | | | | | | | | | Date: Wed, 4 Oct 2006 15:45:15 +0200 Message-ID: <9b18b3110610040645s563220a2id6f235494b497e90@mail.gmail.com> Subject: Re: [PATCH] Add recursive regexes similar to PCRE From: demerphq <demerphq@gmail.com> Date: Wed, 4 Oct 2006 21:05:10 +0200 Message-ID: <9b18b3110610041205m2660eb43m1315cf4b0653db96@mail.gmail.com> p4raw-id: //depot/perl@28939
* rationalise sayYES and sayNO code in regmatch()Dave Mitchell2006-09-301-0/+2
| | | p4raw-id: //depot/perl@28905
* Re: [PATCH] Add hook for re_dup() into regex engine as reg_dupe (make re ↵Yves Orton2006-09-291-9/+9
| | | | | | | pluggable under threads) Message-ID: <9b18b3110609290757n62b3484i7bb948f965524191@mail.gmail.com> p4raw-id: //depot/perl@28902
* Re: [PATCH] Add hook for re_dup() into regex engine as reg_dupe (make re ↵Yves Orton2006-09-291-1/+28
| | | | | | | pluggable under threads) Message-ID: <9b18b3110609290341p11767110sec20a6fee2038a00@mail.gmail.com> p4raw-id: //depot/perl@28900
* eliminate PL_regindent and improve -Mre=Debug,STATE outputDave Mitchell2006-09-251-2/+0
| | | p4raw-id: //depot/perl@28885
* fix regression introduced in #27778: must backtrack into inner regexDave Mitchell2006-09-241-1/+5
| | | | | "aa" =~ /(??{"a+"})a/ p4raw-id: //depot/perl@28884
* in S_regmatch(), convert state var st->cc into local var cur_curlyxDave Mitchell2006-09-241-1/+0
| | | p4raw-id: //depot/perl@28883
* Re: [PATCH] Trie jumpingYves Orton2006-09-051-0/+1
| | | | | Message-ID: <9b18b3110609020740y2eb9004cpab313c3353a437ca@mail.gmail.com> p4raw-id: //depot/perl@28785
* migrate CURLY/PLUS/STAR branch in regmatch() to new FSM-esque paradigmDave Mitchell2006-06-301-4/+6
| | | p4raw-id: //depot/perl@28455