| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
ability to create landmines that will explode under someone in the
future when they upgrade their compiler to one with better
optimisation. We've already done this at least twice.
(Yes, some of the assertions are after code that would already have
SEGVd because it already deferences a pointer, but they are put in
to make it easier to automate checking that each and every case is
covered.)
Add a tool, checkARGS_ASSERT.pl, to check that every case is covered.
p4raw-id: //depot/perl@33291
|
|
|
|
|
|
| |
indirectly via RVs. This saves memory, and removes 1 level of pointer
indirection.
p4raw-id: //depot/perl@32950
|
|
|
|
|
| |
ithreads, so don't waste time doing it there.
p4raw-id: //depot/perl@32939
|
|
|
|
|
|
| |
rather than put in lots of hacks to work round not reference counting
it.
p4raw-id: //depot/perl@32938
|
|
|
| |
p4raw-id: //depot/perl@32913
|
|
|
|
|
|
| |
reference count only needs "doubling" when the scalar is pushed onto
PL_regex_padav for the second time.
p4raw-id: //depot/perl@32899
|
|
|
| |
p4raw-id: //depot/perl@32895
|
|
|
| |
p4raw-id: //depot/perl@32861
|
|
|
|
|
|
|
|
| |
inside of (?{...}) blocks as reported by Moritz Lenz in
Subject: Bugs in extended regexp features
Message-ID: <477FACED.4000505@casella.verplant.org>
p4raw-id: //depot/perl@32857
|
|
|
|
|
|
| |
be accessed via RXp_PAREN_NAMES(). (They are entirely within the
regexp implementation).
p4raw-id: //depot/perl@32853
|
|
|
| |
p4raw-id: //depot/perl@32852
|
|
|
|
|
| |
bit in pmflags, to decide whether the pattern is UTF-8.
p4raw-id: //depot/perl@32851
|
|
|
| |
p4raw-id: //depot/perl@32850
|
|
|
| |
p4raw-id: //depot/perl@32849
|
|
|
|
|
|
|
| |
Remove RXp_PRECOMP() and RXp_WRAPPED().
Change the parameter of S_debug_start_match() from regexp to REGEXP.
Change its callers [the only part wrong for 5.10.x]
p4raw-id: //depot/perl@32840
|
|
|
|
|
|
| |
and regexp reference counting is via the regular SV reference counting.
This was not as easy at it looks.
p4raw-id: //depot/perl@32804
|
|
|
|
|
|
|
| |
regcomp.c and regexec.c RXp_* where necessary] so that in future we
can maintain source compatibility when we add an extra level of
dereferencing.
p4raw-id: //depot/perl@32802
|
|
|
|
|
|
| |
the macros RX_PRECOMP() and RX_PRELEN(). This will allow us to reduce
the regexp storage overhead by computing them at retrieve time.
p4raw-id: //depot/perl@32753
|
|
|
| |
p4raw-id: //depot/perl@32751
|
|
|
|
|
|
| |
so don't upgrade them to ORANGE before attaching qr magic.
(And don't stop using qr magic once regexps become first class)
p4raw-id: //depot/perl@32748
|
|
|
|
|
| |
Add a comment about the mg_find() that follows.
p4raw-id: //depot/perl@32742
|
|
|
|
|
| |
(Correct a comparison of $] with 5.011 in B.pm)
p4raw-id: //depot/perl@32740
|
|
|
| |
p4raw-id: //depot/perl@32630
|
|
|
|
|
|
|
| |
Related to [perl #36207] among others
Message-ID: <9b18b3110712170621h41de2c76k331971e3660abcb0@mail.gmail.com>
p4raw-id: //depot/perl@32628
|
|
|
|
|
|
|
| |
Message-ID: <20071107001845.GA21000@bort.ca>
[plus remove the TODO from the now passing test]
p4raw-id: //depot/perl@32236
|
|
|
|
|
| |
Message-ID: <46D617B5.3000002@iki.fi>
p4raw-id: //depot/perl@31765
|
|
|
|
|
|
|
|
|
|
| |
ensure proper scope cleanup.
Fix and test for issue raised in:
Subject: Very strange interaction between regex and lexical array in blead
Message-ID: <20070818015537.0088db31@r2d2>
p4raw-id: //depot/perl@31733
|
|
|
| |
p4raw-id: //depot/perl@31455
|
|
|
|
|
|
|
|
| |
change #28398 accidently made the last branch of an alternation
not restore the paren state after failure backtrack. Fix this by
removing the last-branch-skips-pushing-a-state optimisation.
p4raw-link: @28398 on //depot/perl: 40a824489101168f94fce98aa2824baf40bad402
p4raw-id: //depot/perl@31417
|
|
|
|
|
|
|
|
|
| |
Some code in regexec.c had a comment to the effect that without
this code, Dynaloader failed (this is back at 5.6.0). Replace the
comments with something more specific, and add a test for it
(basically without the code $1 is '' rather than undefined
sometimes).
p4raw-id: //depot/perl@31408
|
|
|
| |
p4raw-id: //depot/perl@31335
|
|
|
|
|
| |
Message-ID: <9b18b3110705281046ib37acb4i7960fe415325270f@mail.gmail.com>
p4raw-id: //depot/perl@31303
|
|
|
|
|
| |
Message-ID: <9b18b3110705011446h2113221cndf70af928d72505@mail.gmail.com>
p4raw-id: //depot/perl@31118
|
|
|
| |
p4raw-id: //depot/perl@31109
|
|
|
|
|
|
| |
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Message-ID: <51dd1af80704261922j3db0615wa86ccc4cb65b2713@mail.gmail.com>
p4raw-id: //depot/perl@31106
|
|
|
|
|
|
|
| |
regex engine.
Message-ID: <9b18b3110704270709y50ef652ci436b3bb29abca275@mail.gmail.com>
p4raw-id: //depot/perl@31102
|
|
|
| |
p4raw-id: //depot/perl@31097
|
|
|
|
|
|
| |
which expects a STRLEN pointer.
Avoid some signed/unsigned casting warnings by adding casts.
p4raw-id: //depot/perl@31093
|
|
|
|
|
|
|
| |
regex engine.
Message-ID: <9b18b3110704240746u461e4bdcl208ef7d7f9c5ef64@mail.gmail.com>
p4raw-id: //depot/perl@31081
|
|
|
|
|
|
|
| |
char* xend
Message-ID: <51dd1af80704211430m6ad1b4afy49b069faa61e33a9@mail.gmail.com>
p4raw-id: //depot/perl@31027
|
|
|
|
|
|
|
| |
PCRE and unicode tr18
Message-ID: <9b18b3110704221434g43457742p28cab00289f83639@mail.gmail.com>
p4raw-id: //depot/perl@31026
|
|
|
|
|
| |
Message-ID: <9b18b3110704031646p7ac8dbearf9e41397a5f884d8@mail.gmail.com>
p4raw-id: //depot/perl@30841
|
|
|
| |
p4raw-id: //depot/perl@30819
|
|
|
|
|
|
|
|
| |
By setting the outer saved $^R to the current $^R just at the
end of a successful match, and ensuring that that the savestack
doesn't get popped beforehand, the code is simplified and fixes a
bug.
p4raw-id: //depot/perl@30818
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
them.
p4raw-id: //depot/perl@30766
|
|
|
|
|
|
|
| |
memory, and Copy() and free it as one.
Probably these two pointers to array should merge into single pointer
to an array of structs.
p4raw-id: //depot/perl@30745
|
|
|
|
|
|
|
|
|
| |
pattern is a qr.
Message-ID: <9b18b3110703210239x540f5ad9mdb41c2ea6229ac31@mail.gmail.com>
plus two follow-up patches (minor tweaks)
p4raw-id: //depot/perl@30678
|
|
|
|
|
| |
Message-ID: <9b18b3110703191740m6bf21942p6521f3016ed8092f@mail.gmail.com>
p4raw-id: //depot/perl@30647
|
|
|
| |
p4raw-id: //depot/perl@30574
|