summaryrefslogtreecommitdiff
path: root/regexec.c
Commit message (Collapse)AuthorAgeFilesLines
* Continue the internal UTF-8 API tweaking.Jarkko Hietaniemi2000-10-251-4/+4
| | | | | | | | Rename utf8_to_uv_chk() back to utf8_to_uv() because it's used much more than the simpler API, now called utf8_to_uv_simple(). Still not quite happy with API, too much partial duplication of functionality. p4raw-id: //depot/perl@7439
* Make the UTF-8 decoding stricter and more verbose whenJarkko Hietaniemi2000-10-241-4/+9
| | | | | | | | | | | | malformation happens. This involved adding an argument to utf8_to_uv_chk(), which involved changing its prototype, and prefer STRLEN over I32 for the UTF-8 length, which as a domino effect necessitated changing the prototypes of scan_bin(), scan_oct(), scan_hex(), and reg_uni(). The stricter UTF-8 decoding checking uses Markus Kuhn's UTF-8 Decode Stress Tester from http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt p4raw-id: //depot/perl@7416
* Re: [ID 20001021.005] SEGV with regex match Hugo van der Sanden2000-10-231-4/+5
| | | | | Message-Id: <200010222347.AAA09697@crypt.compulink.co.uk> p4raw-id: //depot/perl@7407
* Minor optimization in re_intuit_startIlya Zakharevich2000-10-021-8/+10
| | | | | Message-ID: <20000928215531.A4315@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@7115
* Re-instate Perl_utf8_to_uv without checking parameter - added in change 7075.Nick Ing-Simmons2000-09-301-4/+4
| | | | | | | i.e. rename Simon's function to Perl_utf8_to_uv_chk, change all calls to it to use new name and add Perl_utf8_to_uv() as a wrapper which calls it passing 0 to checking to get the warning. p4raw-id: //depot/perl@7096
* Batch of UTF-8 patches from Simon Cozens.Jarkko Hietaniemi2000-09-141-4/+4
| | | p4raw-id: //depot/perl@7075
* Fix forMarc Lehmann2000-09-071-1/+0
| | | | | | | | 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-1/+5
| | | | | | | | | | | | | | 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: [ID 20000809.005] trouble with long string and /m modifier - ↵Hugo van der Sanden2000-08-111-2/+11
| | | | | | | uninitialized value Message-Id: <200008101823.TAA23580@crypt.compulink.co.uk> p4raw-id: //depot/perl@6591
* [ID 20000731.010] regex error Hugo van der Sanden2000-08-021-1/+1
| | | | | Message-Id: <200008021353.OAA24761@crypt.compulink.co.uk> p4raw-id: //depot/perl@6493
* Replace change #6337 with a better one.Hugo van der Sanden2000-07-141-34/+20
| | | | | | | | Subject: Re: [PATCH] [ID 20000701.002] Regular Expressions Not Unsetting $1 Vars When Backtracking Message-Id: <200007140316.EAA15857@crypt.compulink.co.uk> p4raw-link: @6337 on //depot/cfgperl: f06a1d4e6ae96bf8af49f0ef1c79f500d8de0143 p4raw-id: //depot/cfgperl@6395
* [ID 20000701.002] Regular Expressions Not Unsetting $1 Vars When Backtracking Hugo van der Sanden2000-07-111-0/+2
| | | | | Message-Id: <200007111144.MAA04446@crypt.compulink.co.uk> p4raw-id: //depot/cfgperl@6337
* fix buggy multiline matching of C<"a\nxb\n" =~ /(?!\A)x/m>Gurusamy Sarathy2000-05-311-1/+1
| | | | | (from Ilya Zakharevich) p4raw-id: //depot/perl@6172
* cosmetic fixups of RE debug output (from Ilya Zakharevich)Gurusamy Sarathy2000-05-281-8/+14
| | | p4raw-id: //depot/perl@6152
* fix accidental pessimization in RE optimizer (from Ilya Zakharevich)Gurusamy Sarathy2000-05-281-3/+9
| | | p4raw-id: //depot/perl@6151
* fix for failure to match $foo =~ /(?i)/ (from Ilya Zakharevich)Gurusamy Sarathy2000-04-271-1/+30
| | | p4raw-id: //depot/perl@5973
* fix RE brokenness on refs/overloaded things (from Ilya Zakharevich)Gurusamy Sarathy2000-04-241-2/+4
| | | p4raw-id: //depot/perl@5931
* fixes for most warnings identified by gcc -WallGurusamy Sarathy2000-03-051-9/+5
| | | p4raw-id: //depot/perl@5540
* Fix locale case-ignorant matching bug reported ingomar@md.media-web.de2000-02-271-8/+8
| | | | | | | To: perl5-porters@perl.org Subject: [ID 20000223.005] Message-Id: <20000223160308.1830.qmail@md.media-web.de> p4raw-id: //depot/cfgperl@5277
* More UTF8_MAXLEN fixesGisle Aas2000-02-241-1/+1
| | | | | | To: perl5-porters@perl.org Message-ID: <m3ema2tc8q.fsf@eik.g.aas.no> p4raw-id: //depot/cfgperl@5247
* lexical warnings update, ability to inspect bitmask in callingGurusamy Sarathy2000-02-201-4/+4
| | | | | scope, among other things (from Paul Marquess) p4raw-id: //depot/perl@5170
* avoid reading out-of-bounds memory when matching against referenceGurusamy Sarathy2000-02-201-1/+1
| | | p4raw-id: //depot/perl@5167
* fix bug in backtracking optimizer (from Makoto IshisoneGurusamy Sarathy2000-02-191-1/+7
| | | | | <ishisone@sra.co.jp>) p4raw-id: //depot/perl@5151
* make /\S/ match the same things /[\S]/ matches; likewise forGurusamy Sarathy2000-02-181-16/+22
| | | | | \D (from Rick Delaney <rick@consumercontact.com>) p4raw-id: //depot/perl@5126
* more purification (pp_require() could access free memory; vdie()Gurusamy Sarathy2000-02-131-1/+1
| | | | | | | | could think message was random length when passed a null argument; utilize() didn't set up the hash for the method name leading to pp_method_named() accessing random state; PL_curpm wasn't zeroed properly) p4raw-id: //depot/perl@5072
* set SvUTF8 on vectors only if there are chars > 127; update copyrightGurusamy Sarathy2000-02-061-1/+1
| | | | | years (from Gisle Aas) p4raw-id: //depot/perl@5009
* HINT_UTF8 is not propagated to the op tree anymore; add aGurusamy Sarathy2000-02-011-0/+1
| | | | | perlunicode.pod that reflects changes to unicode support so far p4raw-id: //depot/perl@4941
* fix for 'make utest' failures (from Ilya Zakharevich)Gurusamy Sarathy2000-01-071-6/+8
| | | p4raw-id: //depot/perl@4770
* Re: minimal m//g matches appear bustedIlya Zakharevich2000-01-051-1/+4
| | | | | Message-Id: <20000105152318.A7400@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@4759
* fix for C<"\nx\taa\n" =~ /^\S\s+aa$/m> (from Ilya Zakharevich)Gurusamy Sarathy1999-12-171-6/+10
| | | p4raw-id: //depot/perl@4693
* apply change#4618 again along with Ilya's patch to fix bugsGurusamy Sarathy1999-12-081-13/+14
| | | | | | | | in it (see change#4622) p4raw-link: @4622 on //depot/perl: 34baa6c30415f54e9b8c2e622de1e229cf36d781 p4raw-link: @4618 on //depot/perl: f9d9cdce9cbb41baf3d0716ebac8540732d59bf8 p4raw-id: //depot/perl@4669
* introduce save_I8() for saving byte valuesGurusamy Sarathy1999-12-081-2/+2
| | | p4raw-id: //depot/perl@4665
* fixes for bugs in change#4586 and OS/2 pod tweak, from IlyaGurusamy Sarathy1999-12-021-16/+36
| | | | | p4raw-link: @4586 on //depot/cfgperl: 6eb5f6b9f48454b7ad64225a5bab0de7fdff695c p4raw-id: //depot/perl@4617
* find_byclass() prototype was incoherentGurusamy Sarathy1999-12-011-7/+4
| | | p4raw-id: //depot/perl@4608
* The find_byclass prototype is already in proto.h.Jarkko Hietaniemi1999-11-181-3/+0
| | | p4raw-id: //depot/cfgperl@4594
* Ilya's "hopscotch" patch, reworked by Ilya to fit.Jarkko Hietaniemi1999-11-141-331/+415
| | | p4raw-id: //depot/cfgperl@4586
* Change #4576 accidentally leaked also parts ofJarkko Hietaniemi1999-11-131-397/+64
| | | | | Ilya's patch that won't apply cleanly anymore. p4raw-id: //depot/cfgperl@4577
* Integrate with Sarathy.Jarkko Hietaniemi1999-11-131-64/+397
| | | p4raw-id: //depot/cfgperl@4576
* More printf miscasts flushed out.Jarkko Hietaniemi1999-11-061-8/+8
| | | p4raw-id: //depot/cfgperl@4525
* Integrate with Sarathy.Jarkko Hietaniemi1999-11-041-1/+0
|\ | | | | p4raw-id: //depot/cfgperl@4513
| * remove VIRTUAL tag, PERL_OBJECT doesn't need it anymoreGurusamy Sarathy1999-11-041-1/+0
| | | | | | p4raw-id: //depot/perl@4511
* | Re: [ID 19991026.001] perl segmentation fault reportIlya Zakharevich1999-11-011-3/+10
|/ | | | | | | To: lvirden@cas.org (Larry W. Virden) Cc: perl5-porters@perl.org, lvirden@cas.org Message-Id: <199911012314.SAA22664@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@4507
* Integrate with Sarathy.Jarkko Hietaniemi1999-10-291-1/+1
|\ | | | | p4raw-id: //depot/cfgperl@4489
| * usurp GVOP slot for new PADOP (one small step to making optreeGurusamy Sarathy1999-10-291-1/+1
| | | | | | | | | | shareable across interpreters) p4raw-id: //depot/perl@4484
* | Remove quad logic from perl.h; regen Configure;Jarkko Hietaniemi1999-10-291-2/+2
|/ | | | | add -DUSE_LONG_LONG to ccflags if not already there. p4raw-id: //depot/cfgperl@4487
* Remove the last regnode<==>char*Ilya Zakharevich1999-10-251-11/+4
| | | | | | To: perl5-porters@perl.org (Mailing list Perl5) Message-Id: <199910250706.DAA16825@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@4453
* Missing REx engine patchIlya Zakharevich1999-10-251-0/+45
| | | | | | To: perl5-porters@perl.org (Mailing list Perl5) Message-Id: <199910250347.XAA16094@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@4452
* More printf-fixes (see also #4426).Jarkko Hietaniemi1999-10-231-13/+13
| | | p4raw-id: //depot/cfgperl@4429
* Fix the printfing nits pointed out by using gcc -Wall andJarkko Hietaniemi1999-10-231-12/+14
| | | | | | Configure -Duse64bits -Dccflags=-DDEBUGGING in Solaris, plus few other warnings in Dumper.xs. p4raw-id: //depot/cfgperl@4426
* revert SAVEDESTRUCTOR() to accepting void(*)(void*) for sourceGurusamy Sarathy1999-10-101-1/+1
| | | | | | compatibility; introduce SAVEDESTRUCTOR_X() that accepts void(*)(pTHX_ void*) p4raw-id: //depot/perl@4339