summaryrefslogtreecommitdiff
path: root/regcomp.h
Commit message (Collapse)AuthorAgeFilesLines
* Integrate:Jarkko Hietaniemi2003-05-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 19242] Fix up Larry's copyright statements to my best knowledge. (Lots of Perl 5 source code archaeology was involved.) Larry didn't make strangled noises when I showed him the patch, either :-) p4raw-link: @19242 on //depot/perl: 4bb101f2758f169969171dfe6b70f68a406dcc1e p4raw-id: //depot/maint-5.8/perl@19400 p4raw-integrated: from //depot/perl@19399 'copy in' x2p/a2py.c (@16076..) Porting/pumpkin.pod (@18282..) fakesdio.h locale.c nostdio.h (@18801..) EXTERN.h INTERN.h README av.h cc_runtime.h fakethr.h form.h globals.c gv.h hv.h mg.h pad.h perlsdio.h perlsfio.h regcomp.h run.c scope.h taint.c unixish.h utf8.h utfebcdic.h util.h x2p/EXTERN.h x2p/INTERN.h x2p/a2p.c x2p/a2p.h x2p/a2p.y x2p/hash.c x2p/hash.h x2p/proto.h x2p/str.c x2p/str.h x2p/util.c x2p/util.h x2p/walk.c (@18807..) perlapi.c (@18828..) doio.c (@19172..) perlio.h (@19203..) utf8.c (@19231..) 'merge in' cop.h opcode.h opnames.h pp_sort.c regexp.h xsutils.c (@18801..) deb.c doop.c keywords.h miniperlmain.c pp.h (@18807..) patchlevel.h (@18812..) keywords.pl (@18851..) global.sym (@18868..) opcode.pl (@18875..) pad.c (@18904..) mg.c (@18979..) dosish.h (@19051..) scope.c (@19064..) perlvars.h (@19120..) cv.h (@19167..) regexec.c (@19210..) pp.c (@19218..) perl.h (@19230..) p4raw-integrated: from //depot/perl@19242 'merge in' XSUB.h av.c op.h thrdvar.h (@18801..) thread.h (@18807..) handy.h (@18873..) regcomp.c (@18995..) pp_pack.c (@19010..) pp_sys.c (@19091..) dump.c (@19098..) embed.h embed.pl (@19120..) reentr.c reentr.h reentr.pl (@19122..) pp_ctl.c (@19126..) embedvar.h perlapi.h sv.c (@19133..) sv.h (@19167..) toke.c (@19169..) perl.c (@19185..) hv.c pp_hot.c (@19212..) gv.c (@19213..) op.c proto.h (@19214..) numeric.c (@19218..) universal.c (@19235..) util.c (@19238..)
* Integrate:Adrian M. Enache2003-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | [ 18805] Subject: Re: [perl #21411] [fix] Postponed RE with split() Message-ID: <20030302081127.GA10782@ratsnest.hole> [ 18807] Reverse copyright update (#18801) for files not changed in 2003. p4raw-link: @18807 on //depot/perl: 3f774658ecc4b04691265c9db31d70a4a611b290 p4raw-link: @18805 on //depot/perl: 91e09a610c67b89c771cab2084dbd4490cd4351a p4raw-id: //depot/maint-5.8/perl@18808 p4raw-integrated: from //depot/perl@18806 'copy in' t/op/pat.t (@18784..) EXTERN.h INTERN.h README av.h cc_runtime.h fakethr.h form.h globals.c gv.h handy.h hv.h mg.h numeric.c pad.h perlapi.c perlsdio.h perlsfio.h regcomp.h run.c scope.h taint.c unixish.h utf8.h utfebcdic.h util.h x2p/EXTERN.h x2p/INTERN.h x2p/a2p.c x2p/a2p.h x2p/a2p.y x2p/hash.c x2p/hash.h x2p/proto.h x2p/str.c x2p/str.h x2p/util.c x2p/util.h x2p/walk.c (@18801..) 'merge in' deb.c doop.c dosish.h keywords.h keywords.pl miniperlmain.c perlvars.h perly.y pp.c pp.h thread.h (@18801..)
* Integrate:Jarkko Hietaniemi2003-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 18784] An already fixed bug from perl-unicode. [ 18785] Subject: Re: [PATCH] Re: format, PerlIO and utf8 From: Inaba Hiroto <inaba@st.rim.or.jp> Date: Mon, 10 Feb 2003 00:04:51 +0900 Message-ID: <3E466E12.E5349D84@st.rim.or.jp> [ 18794] Further Unicode formats patching from Inaba Hiroto. [ 18797] Patch for [perl #9402], known also as "glibc _moddi3 bug with negative quads", or also as RedHat bug #65612. [ 18798] Go with "right = -right" for greater portability, some platforms might require llabs() to get abs() of long longs. [ 18799] The -CI cannot be easily tested under UTF-8 locale with the t/test.pl (the 'stdin' data gets doubly UTF-8-ied). Also other small tweaks in the -C neighbourhood. [ 18801] Update all copyrights to 2003, from Jarkko [ 18802] Narrow down the -C test skippage. [ 18803] Subject: RE: [perl #20613] Perl_magic_setsig/clearsig problems (patch included) From: "Anders Johnson" <ajohnson@wischip.com> Date: Mon, 10 Feb 2003 14:09:46 -0800 Message-ID: <000e01c2d151$2228ca90$9800a8c0@wis.com> p4raw-link: @18803 on //depot/perl: 2d4fcd5e8be8d83efa948a259c49b56fc6c27ee5 p4raw-link: @18802 on //depot/perl: 81ff9b36babbaa3576696f80427c25a4b7bfa9dd p4raw-link: @18801 on //depot/perl: 4c79ee7a1e7564ef83d0ac25d6677fdebb3ec7aa p4raw-link: @18799 on //depot/perl: 06e66572fd5541df0d1349cac2b404c3b9e446ee p4raw-link: @18798 on //depot/perl: 97edce3fcdc8a02187aed95f7b6f4a46eb120a6e p4raw-link: @18797 on //depot/perl: 224ec32361cf57b93c61b661abceec9635d9d527 p4raw-link: @18794 on //depot/perl: 78da4d13e9515c4d820a5423a160a2c81889d633 p4raw-link: @18785 on //depot/perl: 1bd51a4ce2ce8ac9d8d3503b73fce0e0fc8f8426 p4raw-link: @18784 on //depot/perl: 351208f1b69ff774788ddf0fb62571002594640e p4raw-id: //depot/maint-5.8/perl@18804 p4raw-branched: from //depot/perl@18791 'branch in' t/uni/write.t p4raw-integrated: from //depot/perl@18791 'copy in' EXTERN.h INTERN.h form.h run.c x2p/EXTERN.h x2p/INTERN.h x2p/a2p.c x2p/a2p.y x2p/hash.h x2p/proto.h x2p/str.h x2p/util.c x2p/util.h (@14391..) cc_runtime.h fakethr.h unixish.h (@14400..) globals.c (@14802..) README (@14841..) regcomp.h (@15356..) utf8.h (@15762..) x2p/hash.c x2p/walk.c (@16076..) gv.h (@16325..) perlsdio.h (@16368..) hv.h (@16656..) utfebcdic.h (@16888..) x2p/a2p.h (@17033..) perlsfio.h (@17242..) av.h (@17727..) x2p/str.c (@17759..) numeric.c (@17874..) handy.h (@17920..) mg.h (@17947..) perlapi.c (@18113..) taint.c (@18261..) pad.h (@18311..) scope.h (@18312..) util.h (@18321..) t/op/magic.t (@18371..) reentr.c reentr.h reentr.pl (@18498..) fakesdio.h nostdio.h (@18524..) perlio.h (@18556..) XSUB.h (@18636..) locale.c (@18731..) t/op/pat.t (@18782..) t/run/switchC.t (@18799..) 'edit in' pp_ctl.c (@18794..) pp.c (@18798..) perl.c perl.h util.c (@18799..) mg.c (@18801..) 'merge in' keywords.h (@17682..) doop.c (@17984..) deb.c dosish.h miniperlmain.c pp.h (@18030..) keywords.pl (@18160..) thread.h (@18229..) perlvars.h (@18239..) perly.y (@18336..) scope.c (@18410..) opnames.h (@18413..) pp_sort.c (@18456..) hv.c (@18463..) av.c (@18554..) op.h (@18589..) pad.c (@18601..) cop.h (@18643..) doio.c (@18676..) universal.c (@18697..) gv.c (@18715..) regcomp.c regexp.h thrdvar.h (@18726..) cv.h dump.c xsutils.c (@18727..) embed.pl (@18734..) patchlevel.h (@18749..) opcode.h opcode.pl pp_pack.c (@18751..) utf8.c (@18760..) sv.h (@18764..) embedvar.h pp_sys.c (@18766..) pp_hot.c (@18774..) op.c (@18777..) MANIFEST (@18779..) perlapi.h (@18781..) proto.h regexec.c sv.c (@18782..) embed.h (@18795..) global.sym (@18796..) p4raw-integrated: from //depot/perl@18785 'edit in' toke.c (@18753..)
* Fix for "UTF-8 bug with s///" from Hugo.Jarkko Hietaniemi2002-03-201-1/+5
| | | p4raw-id: //depot/perl@15356
* Sprinkle some copyrights (use the oldest timestamp toJarkko Hietaniemi2002-01-241-0/+6
| | | | | | be found in the repository, which is most often not right, but at least consistent) p4raw-id: //depot/perl@14400
* Finish up (ha!) the Unicode case folding;Jarkko Hietaniemi2002-01-051-1/+3
| | | | | enhance regex dumping code. p4raw-id: //depot/perl@14096
* Ooops. Retract the regex parts of #14090.Jarkko Hietaniemi2002-01-051-3/+1
| | | p4raw-id: //depot/perl@14091
* [REPATCH] Re: [PATCH] Re: socketpair blip on unicos/mk, tooNicholas Clark2002-01-051-1/+3
| | | | | Message-ID: <20020105181013.I300@Bagpuss.unfortu.net> p4raw-id: //depot/perl@14090
* memset() is cheaper than a loop of 256 bit-a-a-timesNicholas Clark2001-11-241-0/+8
| | | | | Message-ID: <20011124163042.R37621@plum.flirble.org> p4raw-id: //depot/perl@13236
* Retract #13048: that introduced a malloc() (through savepvn())Jarkko Hietaniemi2001-11-181-1/+0
| | | | | to *every* m//, which killed the performance quite badly. p4raw-id: //depot/perl@13079
* Re: [PATCH regcomp.[ch], regexp.h, pp_hot.c, t/op/re_tests] lazy $& and \Z fixJeff Pinyan2001-11-161-0/+1
| | | | | Message-ID: <Pine.GSO.4.21.0111141634020.16649-100000@crusoe.crusoe.net> p4raw-id: //depot/perl@13048
* Continuation of #11575: SANY_SEEN completely deprecated,Jarkko Hietaniemi2001-08-041-2/+2
| | | | | | plus more tests that unearthed a bug in @a = ($utf8 =~ /\C/g), plus a fix for the bug. p4raw-id: //depot/perl@11577
* Decouple SANY into SANY and CANY: the new SANY is /./s,Daniel P. Berrange2001-08-041-1/+2
| | | | | | | | | the new CANY is the \C. The problem reported and the test case supplied in Subject: UTF-8 bugs in string length & single line regex matches Message-ID: <20010803113932.A19318@berrange.com> p4raw-id: //depot/perl@11575
* adds a commentAbhijit Menon-Sen2001-07-201-0/+1
| | | | | Message-Id: <20010720210537.A7678@lustre.dyn.wiw.org> p4raw-id: //depot/perl@11418
* Patch: document reg_data.what memberMark-Jason Dominus2001-07-121-0/+9
| | | | | Message-ID: <20010712182532.14821.qmail@plover.com> p4raw-id: //depot/perl@11322
* Add preemptive #undefs for some of the shorter and more proneJarkko Hietaniemi2001-05-051-0/+17
| | | | | | to collision regcomp.h #defines. (Background: the MASK collided with a system header #define in Rhapsody.) p4raw-id: //depot/perl@9996
* Document ANYOF_CLASS.Jarkko Hietaniemi2001-04-261-6/+6
| | | p4raw-id: //depot/perl@9874
* Re: [PATCH @9846] dumping ANYOFHugo van der Sanden2001-04-261-0/+3
| | | | | Message-Id: <200104262233.XAA22352@crypt.compulink.co.uk> p4raw-id: //depot/perl@9873
* Misapplied regex optimizations when \C is present.Jarkko Hietaniemi2001-02-181-4/+5
| | | | | | | | | | Fixes 20001230.002. What still remains broken is that the submatches that have \C in them get their UTF8 flag on because their parent SV has it on. This will result in malformed UTF8 if a \C happened to match a non-ASCII byte. p4raw-id: //depot/perl@8836
* more UTF8 test suites and an UTF8 patchInaba Hiroto2000-12-301-0/+1
| | | | | | | | Message-ID: <3A4D722D.243AFD88@st.rim.or.jp> Just the patch part for now, and the pragma renamed as unicode::distinct. p4raw-id: //depot/perl@8267
* Polymorphic regexps.Jarkko Hietaniemi2000-12-171-14/+25
| | | | | | | Fixes at least the bugs 20001028.003 (both of them...) and 20001108.001. The bugs 20001114.001 and 20001205.014 seem also to be fixed by now, probably already before this patch. p4raw-id: //depot/perl@8143
* [PATCH 5.7.0] make regcomp reenterableIlya Zakharevich2000-11-181-1/+1
| | | | | | | | | | | | | Date: Fri, 17 Nov 2000 20:35:11 -0500 Message-ID: <20001117203511.A13121@monk.mps.ohio-state.edu> Subject: Re: [PATCH 5.7.0] make regcomp reenterable From: Ilya Zakharevich <ilya@math.ohio-state.edu> Date: Fri, 17 Nov 2000 21:03:47 -0500 Message-ID: <20001117210347.A16570@monk.mps.ohio-state.edu> Plus a little bit of tweaking in pregcomp(). p4raw-id: //depot/perl@7741
* Too profiler-happy: with optimization the #7590 actually makesJarkko Hietaniemi2000-11-071-1/+0
| | | | | | the test to run 0.5% _slower_. Requires much more instrumentation. Retract #7590. p4raw-id: //depot/perl@7591
* Shave off about 5% (Digital UNIX, -g, pixie) of the op/regexpJarkko Hietaniemi2000-11-071-0/+1
| | | | | | execution time in regcomp.c S_cl_any() and S_cl_is_anything() by using memset() and testing bytewise (as opposed to bitwise). p4raw-id: //depot/perl@7590
* Fix forMarc Lehmann2000-09-071-4/+4
| | | | | | | | Subject: [ID 20000903.001] \w in utf8-strings Message-Id: <E13VUS5-0000cv-00.pgcc-forever-2000-09-03-09-44-29@fuji> and various related nits. p4raw-id: //depot/perl@7030
* Add [[:blank:]] as suggested inJeffrey Friedl2000-08-181-2/+6
| | | | | | | | | | | | | | Subject: [ID 20000716.024] [=cc=] / [:blank:] Message-Id: <200007170055.RAA23528@fummy.dsl.yahoo.com> (the [=cc=] has already been taken care of by #6439 so the whole bug report can be closed) and make [[:space:]] to be equivalent to isspace(3) (as opposed to \s, which is isSPACE()). The difference is that now [[:space:]] matches the mythical vertical tab, while \s doesn't. p4raw-id: //depot/perl@6703
* Re: enhanced(?) regex error messagesJeffrey Friedl2000-08-091-14/+0
| | | | | | | | Message-Id: <200008090759.AAA07144@ventrue.yahoo.com> (plus two small patches sent privately) (this still seems to leave few test failures) p4raw-id: //depot/perl@6560
* apply change#4618 again along with Ilya's patch to fix bugsGurusamy Sarathy1999-12-081-0/+5
| | | | | | | | in it (see change#4622) p4raw-link: @4622 on //depot/perl: 34baa6c30415f54e9b8c2e622de1e229cf36d781 p4raw-link: @4618 on //depot/perl: f9d9cdce9cbb41baf3d0716ebac8540732d59bf8 p4raw-id: //depot/perl@4669
* revert change#4618 (breaks C<$_ = 'A:B'; s/^[a-z]:/x/>)Gurusamy Sarathy1999-12-031-5/+0
| | | | | p4raw-link: @4618 on //depot/perl: f9d9cdce9cbb41baf3d0716ebac8540732d59bf8 p4raw-id: //depot/perl@4622
* applied suggested patch with prototype changesIlya Zakharevich1999-12-021-0/+5
| | | | | | Message-Id: <199911240355.WAA23033@monk.mps.ohio-state.edu> Subject: [PATCH 5.005_62] First char cognizance p4raw-id: //depot/perl@4618
* Remove the last regnode<==>char*Ilya Zakharevich1999-10-251-12/+32
| | | | | | To: perl5-porters@perl.org (Mailing list Perl5) Message-Id: <199910250706.DAA16825@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@4453
* revert SAVEDESTRUCTOR() to accepting void(*)(void*) for sourceGurusamy Sarathy1999-10-101-2/+2
| | | | | | compatibility; introduce SAVEDESTRUCTOR_X() that accepts void(*)(pTHX_ void*) p4raw-id: //depot/perl@4339
* Clarify RE engine code; inline a static function to a macro;Ilya Zakharevich1999-08-031-2/+8
| | | | | | | | make exact string nodes smaller. To: perl5-porters@perl.org (Mailing list Perl5) Subject: [PATCH 5.005_60] Cosmetic change to REx engine Message-Id: <199908030153.VAA10542@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@3908
* more PERL_OBJECT cleanups (changes still untested on Unix!)Gurusamy Sarathy1999-07-081-2/+2
| | | p4raw-id: //depot/perl@3660
* sundry cleanups for clean build on windowsGurusamy Sarathy1999-07-081-8/+8
| | | p4raw-id: //depot/perl@3659
* POSIX [[:character class:]] support for standard, locale,Jarkko Hietaniemi1999-07-061-18/+70
| | | | | | | and utf8. If both utf8 and locale are on, utf8 wins. I don't fully understand why so many tables changed in lib/unicode because of "make" -- maybe it was just overdue. p4raw-id: //depot/cfgperl@3624
* Integrate with Sarathy.Jarkko Hietaniemi1999-07-061-0/+31
| | | p4raw-id: //depot/cfgperl@3609
* EXTERN_C declarations for global arrays in variousGurusamy Sarathy1999-06-121-0/+3
| | | | | | headers, so perl can be built even in C++ mode; win32 build fixups; regen headers p4raw-id: //depot/perl@3537
* more complete support for implicit thread/interpreter pointer,Gurusamy Sarathy1999-06-091-8/+8
| | | | | | | | | | | | | | | | | | | | | enabled via -DPERL_IMPLICIT_CONTEXT (all changes are noops without that enabled): - USE_THREADS now enables PERL_IMPLICIT_CONTEXT, so dTHR is a noop; tests pass on Solaris; should be faster now! - MULTIPLICITY has been tested with and without PERL_IMPLICIT_CONTEXT on Solaris - improved function database now merged with embed.pl - everything except the varargs functions have foo(a,b,c) macros to provide compatibility - varargs functions default to compatibility variants that get the context pointer using dTHX - there should be almost no source compatibility issues as a result of all this - dl_foo.xs changes other than dl_dlopen.xs untested - still needs documentation, fixups for win32 etc Next step: migrate most non-mutex variables from perlvars.h to intrpvar.h p4raw-id: //depot/perl@3524
* patch for change#2822, done right; add PERL_OBJECT stuff; regen headersIlya Zakharevich1999-02-071-4/+4
| | | | | | | | Message-ID: <19990207150726.A571@monk.mps.ohio-state.edu> Subject: Re: fixing memory leaks in REx compilation p4raw-link: @2822 on //depot/perl: 34184a49c8a0771dbea73b3f0519126fd5b22c2f p4raw-id: //depot/perl@2826
* Ilya's idea for cleaning up failed regex allocs (substantive partsGurusamy Sarathy1999-02-071-2/+13
| | | | | disabled, fails tests) p4raw-id: //depot/perl@2822
* phase 1 of somewhat major rearrangement of PERL_OBJECT stuffGurusamy Sarathy1998-10-301-6/+6
| | | | | | | | | | (objpp.h is gone, embed.pl now does some of that); objXSUB.h should soon be automated also; the global variables that escaped the PL_foo conversion are now reined in; renamed MAGIC in regcomp.h to REG_MAGIC to avoid collision with the type of same name; duplicated lists of pp_things in various places is now gone; result has only been tested on win32 p4raw-id: //depot/perl@2133
* Here are the long-expected Unicode/UTF-8 modifications.Larry Wall1998-07-241-5/+8
| | | p4raw-id: //depot/utfperl@1651
* complete s/foo/PL_foo/ changes (all escaped cases identified withGurusamy Sarathy1998-07-201-1/+1
| | | | | | brute force search script). Result builds and passes all tests on Solaris. win32 and PERL_OBJECT are still untested. p4raw-id: //depot/perl@1578
* PL_ prefix to all perlvars, part1Nick Ing-Simmons1998-07-181-3/+3
| | | | | Builds and passes all tests at one limit i.e. -DPERL_GLOBAL_STRUCT p4raw-id: //depot/ansiperl@1532
* add patch that generates regnodes.h via regcomp.plIlya Zakharevich1998-06-221-204/+24
| | | | | | Message-Id: <199806212038.QAA29797@monk.mps.ohio-state.edu> Subject: [PATCH 5.004_67] regcomp.h regnodes cleanup p4raw-id: //depot/perl@1188
* applied patch, with indentation tweaksIlya Zakharevich1998-06-121-93/+22
| | | | | | Message-Id: <199806110803.EAA09149@monk.mps.ohio-state.edu> Subject: [PATCH 5.004_66] Remove REG_ALIGN junk p4raw-id: //depot/perl@1120
* make REG_INFTY default to something saner when sizeof(short) > 2Andy Dougherty1998-06-111-2/+19
| | | | | | Message-Id: <Pine.SUN.3.96.980611114241.18493H-100000@newton.phys> Subject: Re: [PATCH for tests] Regexp fails on long string p4raw-id: //depot/perl@1119
* Bugs with (?{}), $^R and many-to-many substIlya Zakharevich1998-06-111-0/+1
| | | | | Message-Id: <199806100751.DAA05441@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@1117
* Re: [PATCH 5.004_66] REG_INFTY patch correctedIlya Zakharevich1998-06-101-4/+3
| | | | | Message-Id: <199806100302.XAA04958@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@1109