summaryrefslogtreecommitdiff
path: root/regexec.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove code duplication in S_to_utf8_substr() and S_to_byte_substr()Nicholas Clark2006-12-101-51/+33
| | | | | | by taking advantage of how anchored_* and float_* are stored in arrays to use a loop. p4raw-id: //depot/perl@29503
* Downgrading a fixed or floating substring of a pattern whilst matchingNicholas Clark2006-12-101-0/+8
| | | | | | | | | a studied string seems to get to a "should not happen" [bug #41067] It seems that Perl_regexec_flags() assumes that if the pre-downgraded substring is FBM compiled, then the downgraded version will be too, hence changing the downgrade and upgrade routines to FBM compile seems to be a correct fix. p4raw-id: //depot/perl@29502
* \R is supposed to mean something else so switch to \g and make it more ↵Yves Orton2006-12-041-3/+8
| | | | | | | useful in the process Message-ID: <9b18b3110612030755o241e6372o9870ecce9c42e3d5@mail.gmail.com> p4raw-id: //depot/perl@29445
* Move words and revcharmap out of struct _rev_trie_data and duplicateNicholas Clark2006-11-271-6/+6
| | | | | them on thread clone. p4raw-id: //depot/perl@29394
* Move widecharmap out of the shared structure _reg_trie_data into theNicholas Clark2006-11-261-8/+12
| | | | | | top level regdata array, so that it can be correctly duplicated on thread clone. p4raw-id: //depot/perl@29393
* Swap _reg_ac_data.trie to U32 offset into the regdata array, asNicholas Clark2006-11-261-1/+2
| | | | | preliminary to moving _reg_trie_data.widecharmap out too. p4raw-id: //depot/perl@29392
* smoke signs suppressionJarkko Hietaniemi2006-11-251-6/+6
| | | | | Message-ID: <45687324.3040102@iki.fi> p4raw-id: //depot/perl@29378
* Re: [PATCH] Cleanup regexp flags and structureYves Orton2006-11-231-42/+55
| | | | | | | | 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-29/+29
| | | | | 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-6/+13
| | | | | Message-ID: <9b18b3110611220811k1a54f650t1bd7c6a9450b0a7e@mail.gmail.com> p4raw-id: //depot/perl@29354
* Patch by Yves Orton to fix the regression reported in :Andreas König2006-11-201-2/+13
| | | | | | Subject: 28325/6 break DateTime::Format::Strptime Message-ID: <877ixs6oa6.fsf@k75.linux.bogus> p4raw-id: //depot/perl@29324
* [perl #36909] $^R undefined on matches involving backreferencesyves orton2006-11-171-1/+9
| | | | | | From: yves orton via RT <bugs-perl5@bugs6.perl.org> Date: Nov 17, 2006 4:07 PM p4raw-id: //depot/perl@29308
* Re: [PATCH] Fix RT#19049 and add relative backreferencesYves Orton2006-11-151-4/+35
| | | | | Message-ID: <9b18b3110611150329l206e4552w887ae5f0a3f7ca80@mail.gmail.com> p4raw-id: //depot/perl@29279
* Fwd: Memory leak with s/// and hashesYves Orton2006-11-141-6/+4
| | | | | Message-ID: <9b18b3110611131538kc00175ft4db7ff71df22e766@mail.gmail.com> p4raw-id: //depot/perl@29268
* Re: [PATCH] New regex syntax omnibusYves Orton2006-11-131-62/+159
| | | | | Message-ID: <9b18b3110611090809l667860c9t6c27453d7c86a21e@mail.gmail.com> p4raw-id: //depot/perl@29260
* Looks like I didn't actually test the COW conditional code inNicholas Clark2006-11-121-2/+2
| | | | | | change 27533. Perl now compiles, but ext/Compress/Raw/Zlib/t/07bufsize.t fails. p4raw-id: //depot/perl@29247
* (2nd version) small tweaks based on smoke signsJarkko Hietaniemi2006-11-121-2/+2
| | | | | Message-Id: <200611110418.kAB4Ium5350338@kosh.hut.fi> p4raw-id: //depot/perl@29246
* ***speculative*** was RE: [PATCH] regexec.c - silence compiler warningRobin Barker2006-11-091-14/+14
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <2C2E01334A940D4792B3E115F95B7226120AA6@exchsvr1.npl.ad.local> p4raw-id: //depot/perl@29241
* Type change to avoid signed/unsigned compiler warningsRafael Garcia-Suarez2006-11-081-1/+1
| | | | | (thanks to Robin Barker) p4raw-id: //depot/perl@29232
* New regex syntax omnibusYves Orton2006-11-071-19/+120
| | | | | | | | 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-36/+74
| | | | | Message-ID: <9b18b3110611020335h7ea469a8g28ca483f6832816d@mail.gmail.com> p4raw-id: //depot/perl@29189
* Silence a gcc warningRafael Garcia-Suarez2006-11-021-2/+2
| | | p4raw-id: //depot/perl@29186
* Add a commit verb to regex engine to allow fine tuning of backtracking control.Yves Orton2006-11-011-2/+22
| | | | | Message-ID: <9b18b3110610311349n5947cc8fsf0b2e6ddd9a7ee01@mail.gmail.com> p4raw-id: //depot/perl@29183
* Silence VC++ compiler warningsSteve Hay2006-11-011-5/+5
| | | | | See: http://www.nntp.perl.org/group/perl.daily-build.reports/42208 p4raw-id: //depot/perl@29180
* The second patch from:Yves Orton2006-10-301-15/+17
| | | | | | Subject: [PATCH] regex engine optimiser should grok subroutine patterns, and, name subroutine regops more intuitively Message-ID: <9b18b3110610300915x3abf6cddu9c2071a70bea48e1@mail.gmail.com> p4raw-id: //depot/perl@29162
* The first patch from:Yves Orton2006-10-301-5/+9
| | | | | | Subject: [PATCH] regex engine optimiser should grok subroutine patterns, and, name subroutine regops more intuitively Message-ID: <9b18b3110610300915x3abf6cddu9c2071a70bea48e1@mail.gmail.com> p4raw-id: //depot/perl@29161
* Fix a problem with jump-tries, add (?FAIL) pattern.Yves Orton2006-10-261-12/+11
| | | | | Message-ID: <9b18b3110610260559k3efa98barc28987e88c581a8a@mail.gmail.com> p4raw-id: //depot/perl@29118
* Fix a memory leak :Yves Orton2006-10-261-1/+2
| | | | | | Subject: Re: Valgrind findings Message-ID: <9b18b3110610260334t6b77c2dbu2ca8207d822402da@mail.gmail.com> p4raw-id: //depot/perl@29111
* [perl #40557] regexec.c saves context stack position improperly Dave Bailey2006-10-181-1/+1
| | | | | | From: Dave Bailey (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.5.HEAD-4979-1161103047-337.40557-75-0@perl.org> p4raw-id: //depot/perl@29033
* Add Regex conditionals. Various bugfixes. More tests.Yves Orton2006-10-121-18/+82
| | | | | Message-ID: <9b18b3110610111546j74ca490dg21bd9fd1e7e10d42@mail.gmail.com> p4raw-id: //depot/perl@28998
* Re: [PATCH] regexec.c: goto crossing initializationJarkko Hietaniemi2006-10-091-1/+2
| | | | | Message-ID: <452A1A9F.4080103@iki.fi> p4raw-id: //depot/perl@28968
* Re: [PATCH] Initial attempt at named captures for perls regexp engineYves Orton2006-10-071-11/+38
| | | | | Message-ID: <9b18b3110610061016x5ddce965u30d9a821f632d450@mail.gmail.com> p4raw-id: //depot/perl@28957
* Document the new regmatch() backtracking mechanismDave Mitchell2006-10-051-95/+123
| | | p4raw-id: //depot/perl@28946
* remove REGMATCH detritus and shrink the size of the backtrack structureDave Mitchell2006-10-051-116/+78
| | | p4raw-id: //depot/perl@28945
* migrate CURLYX/WHILEM branch in regmatch() to new FSM-esque paradigmDave Mitchell2006-10-051-365/+282
| | | p4raw-id: //depot/perl@28944
* Re: [PATCH] Add recursive regexes similar to PCREYves Orton2006-10-051-22/+76
| | | | | | | | | | | 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
* remove backing up outercc->cur in regmatch()/WHILEMDave Mitchell2006-09-301-12/+0
| | | p4raw-id: //depot/perl@28908
* assert that backing up outercc->cur in regmatch()/WHILEM is not neededDave Mitchell2006-09-301-3/+3
| | | p4raw-id: //depot/perl@28907
* rationalise sayYES and sayNO code in regmatch()Dave Mitchell2006-09-301-72/+47
| | | p4raw-id: //depot/perl@28905
* Re: [PATCH] Add hook for re_dup() into regex engine as reg_dupe (make re ↵Yves Orton2006-09-291-12/+21
| | | | | | | pluggable under threads) Message-ID: <9b18b3110609290341p11767110sec20a6fee2038a00@mail.gmail.com> p4raw-id: //depot/perl@28900
* Automate generation of the regmatch() state constantsYves Orton2006-09-251-54/+1
| | | | | | Subject: Re: Problem with EVAL handling in bleads iterative regex code. Message-Id: <9b18b3110609251109t4cb1d443y87d7a7dc94fcfc24@mail.gmail.com> p4raw-id: //depot/perl@28892
* Fix re debug formatting nitsYves Orton2006-09-251-10/+13
| | | | | | Message-ID: <9b18b3110609250237h4dcf1784s487f1979b2b431b9@mail.gmail.com> Subject: Re: Problem with EVAL handling in bleads iterative regex code. p4raw-id: //depot/perl@28888
* eliminate PL_regindent and improve -Mre=Debug,STATE outputDave Mitchell2006-09-251-41/+76
| | | p4raw-id: //depot/perl@28885
* fix regression introduced in #27778: must backtrack into inner regexDave Mitchell2006-09-241-35/+70
| | | | | "aa" =~ /(??{"a+"})a/ p4raw-id: //depot/perl@28884
* in S_regmatch(), convert state var st->cc into local var cur_curlyxDave Mitchell2006-09-241-63/+65
| | | p4raw-id: //depot/perl@28883
* deal with some gcc warningsJarkko Hietaniemi2006-09-211-2/+2
| | | | | Message-ID: <45122C6F.9080904@iki.fi> p4raw-id: //depot/perl@28877
* Re: \N{...} in regular expression [PATCH]Yves Orton2006-09-191-1/+1
| | | | | Message-ID: <9b18b3110609181637m796d6c16o1b2741edc5f09eb2@mail.gmail.com> p4raw-id: //depot/perl@28868
* More warnings silencing, including suggestions by Dominic DunlopRafael Garcia-Suarez2006-09-121-2/+2
| | | p4raw-id: //depot/perl@28824
* Fix a few more printf format warningsRafael Garcia-Suarez2006-09-111-2/+2
| | | p4raw-id: //depot/perl@28819
* Fix definition of macro HOP3 (spotted by a gcc warning)Rafael Garcia-Suarez2006-09-111-1/+1
| | | p4raw-id: //depot/perl@28818