summaryrefslogtreecommitdiff
path: root/pod
Commit message (Collapse)AuthorAgeFilesLines
* regex engine: Issue #19168 - Fix variable length lookbehind matchesYves Orton2022-02-231-0/+4
| | | | | | | | | | | | We were not validating that when (?<=a|ab) matched that the right hand side of the match lined up with the position of the assertion. Similar for (?<!a|ab) and related patterns, eg, (*positive_lookbehind:). Note these problems do NOT affect lookahead. Part of the difficulty here was that the SUCCEED node was serving too many purposes, necessitating a new regop LOOKBEHIND_END. Includes more tests for various lookahead or lookbehind cases.
* fix typo in perl5358deltaBernd2022-02-211-3/+0
| | | | | | | | Remove doubled line in the "Testing" section. For: https://github.com/Perl/perl5/pull/19443 Committer: Bernd is now a Perl author
* add new perldelta for 5.35.10reneeb2022-02-204-272/+716
|
* Add new release to perlhistv5.35.9reneeb2022-02-201-0/+1
|
* finalize perldelta for 5.35.9reneeb2022-02-201-300/+81
|
* Add 'signatures' to :5.36 feature bundlePaul "LeoNerd" Evans2022-02-203-10/+14
|
* Update various documentation filesPaul "LeoNerd" Evans2022-02-204-55/+67
|
* document the new flags behaviour and whyTony Cook2022-02-191-0/+24
|
* perldelta entry for the PV/IV flags changes.Nicholas Clark2022-02-191-0/+139
| | | | | This needs an update to known_pod_issues.dat because the Pod has trailing whitespace to avoid parts of the same verbatim code block getting separated.
* implement a new command-line flag, -gTomasz Konojacki2022-02-192-2/+21
| | | | | It's a simpler alias for -0777. It was proposed in RFC-0011: https://github.com/Perl/RFCs/blob/master/rfcs/rfc0011.md
* Reapply "docs: clarify effect of $^H, %^H, ${^WARNING_BITS}"Yves Orton2022-02-191-0/+12
| | | | | | | This reverts commit d0b5de5644ac01ea2ccdbd8cbe7dd9c5fe225af4 which itself reverted ee428a211d040dc56d9efc4a89c96886a398fc1c See http://nntp.perl.org/group/perl.perl5.porters/257128
* regcomp.h: change regexp_internal attribute from I32 to U32Yves Orton2022-02-181-3/+3
| | | | | | | | | | This changes the name_list_idx attribute from I32 to a U32 as it will never be negative, and as of a963d6d5acabdd8c7 a 0 can be safely used to represent "no value" for items in the 'data' array. I noticed this while cleaning up the offsets debug logic and updating the perlreguts documentation, so I figured I might as well clean it up at the same time.
* regcomp.c,re.pm: Remove "offsets" debugging codeYves Orton2022-02-181-14/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This code was added by Mark Jason Dominus to aid a regex debugger he wrote for ActiveState. The basic premise is that every opcode in a regex can be attributed back to a contiguous sequence of characters that make up the pattern. This assumption has not been true ever since the "jump" TRIE optimizations were added to the engine. I spoke to MJD many years ago about whether it was ok to remove this from the regex engine and he said he had no objections. An example of a pattern that cannot be handled correctly by this logic is /(?: a x+ | b y+ | c z+ )/x where the (?:a ... | b ... | c ...) parts will now be handled by the TRIE logic and not by the BRANCH/EXACT opcodes that it would have been in the past. The offset debug output cannot handle this type of transformation, and produce nonsense output that mention opcodes that have been optimized away from the final program. The regex compiler is complicated enough without having to maintain this logic. There are essentially no tests for it, and the few tests that do cover it do so as a byproduct of testing other things. Despite the offsets logic only being used in debug supporting it does have a cost to non-debug logic as various internal routines include parameters related to it that are otherwise unused. Note this output is only usable or visible by enabling special flags in re.pm, there is no formal API to access it short of parsing the output of the debug mode of the regex engine, which has changed multiple time over the past years.
* perlreguts.pod: synchronize regexp_internal docs with codeYves Orton2022-02-181-15/+49
| | | | | | | Various changes have been made to struct regexp_internal over time which have not been documented. This updates the docs to match the code as it is now in preparation of changing the docs in subsequent commits.
* perlrecharclass: Update Unicode version referenceKarl Williamson2022-02-161-1/+1
| | | | | | The list is still valid in the current Unicode version, which is much later than the one listed as it being valid for. This could have caused concern that it was out-dated.
* perlop.pod: Fix typo in smartmatch examplezhmylove2022-02-151-2/+2
| | | | | | Committer: Sergey Zhmylove is now a Perl author For: https://github.com/Perl/perl5/pull/19422
* Add 'isa' to 'use feature :5.35'Paul "LeoNerd" Evans2022-02-152-2/+5
|
* No longer print experimental::isa warning (closes #18754)Paul "LeoNerd" Evans2022-02-154-19/+15
|
* Add to perldeprecation.podPaul "LeoNerd" Evans2022-02-131-0/+23
|
* Add to perldelta.podPaul "LeoNerd" Evans2022-02-131-0/+33
|
* Print a deprecation warning if downgrading to a use VERSION below v5.11Paul "LeoNerd" Evans2022-02-131-0/+9
|
* Document that $^S is 1 inside a try blockPaul "LeoNerd" Evans2022-02-081-1/+1
|
* Update perldiag and perldeprecation for features removed in 5.30Dagfinn Ilmari Mannsåker2022-02-072-32/+8
| | | | | | | | Remove the perldiag entry for `my` in false conditional, and change the perldiag entries to past tense. Also correct the description of what actually happened to `File::Glob::glob()`.
* Update perlhactips for bool changesKarl Williamson2022-02-061-13/+11
| | | | This changes this doc to reflect the changes in the past few commits
* Add @_ in signatured sub being experimental to perldelta.podPaul "LeoNerd" Evans2022-01-311-0/+28
|
* Put some wording into perlsub.pod about @_ being discouraged in signatured subsPaul "LeoNerd" Evans2022-01-311-21/+42
|
* Emit experimental::snail_in_signatures warnings on uses of @_ (aka "snail") ↵Paul "LeoNerd" Evans2022-01-311-0/+17
| | | | in signatured subs
* subroutine redefinitions made with local() shouldn't warnTomasz Konojacki2022-01-271-1/+3
| | | | | | | | | | | The following code will no longer warn: use warnings 'redefine'; sub foo {} local *foo = sub{}; The main purpose of local() is to temporarily redefine stuff, so it doesn't make sense to warn about it.
* Add perldelta entry for the four new functionsPaul "LeoNerd" Evans2022-01-271-1/+4
|
* Emit experimental::builtin warnings from the builtin function callcheckerPaul "LeoNerd" Evans2022-01-251-0/+7
|
* New perldelta for 5.35.9Nicolas R2022-01-204-108/+552
|
* Added 5.35.8 to perlhistv5.35.8Nicolas R2022-01-201-1/+1
|
* Update perldelta for blead release v5.35.8Nicolas R2022-01-201-265/+76
|
* Add a pod sort sample with function signatureNicolas R2022-01-201-0/+8
| | | | | | GH #19344 Provide a sample for sort using function signature.
* Add perldelta entry for try/catch/finallyPaul "LeoNerd" Evans2022-01-201-0/+22
|
* Ensure that forbidden control flow messages about finally blocks say ↵Paul "LeoNerd" Evans2022-01-201-0/+5
| | | | "finally" and not "defer"
* Document the new try/catch/finally syntaxPaul "LeoNerd" Evans2022-01-201-1/+26
|
* Implement and test try/catch/finally syntaxPaul "LeoNerd" Evans2022-01-201-0/+6
|
* perldelta for empty sort croak (78cc98885ff2800c)David Mitchell2022-01-191-0/+9
|
* officially support Visual C++ 2022Tomasz Konojacki2022-01-161-2/+9
| | | | No code changes are needed.
* Change pack U behavior for EBCDICKarl Williamson2021-12-281-1/+4
| | | | | | | | | | This effectively reverts 3ece276e6c0. It turns out this was a bad idea to make U mean the non-native official Unicode code points. It may seem to make sense to do so, but broke multiple CPAN modules which were using U the previous way. This commit has no effect on ASCII-platform functioning.
* Fix misspellings in documentation. Correct spelling of name to 'DeIvan Panchenko2021-12-263-5/+5
| | | | | | | | Morgan'. Committer: Ivan Panchenko is now a Perl author For: https://github.com/Perl/perl5/pull/19298
* Document and test command-line switch '-?'James E Keenan2021-12-241-1/+6
|
* Replace 'slave' with 'client'James E Keenan2021-12-242-2/+2
| | | | | | | | | | | | | This commit moves us a step forward on eliminating 'master/slave' terminology. Its scope is limited to those files within the Perl 5 core distribution which are not CPAN-upstream. Within that scope, we leave untouched the use of the term 'slave' in epigraphs and other literary quotations and its use in data coming from outside sources (e.g., Unicode code points). Increment $VERSION in lib/perl5db.pl. Revisions per rjbs feedback. For: https://github.com/Perl/perl5/pull/19227
* new perldelta for 5.35.8Neil Bowers2021-12-214-84/+528
|
* Added 5.35.7 to perlhistv5.35.7Neil Bowers2021-12-201-0/+1
|
* Updated perldelta with changes to core modulesNeil Bowers2021-12-201-23/+47
|
* added some entries to perldelta after trawling the git logNeil Bowers2021-12-201-296/+34
|
* perldelta entry for the fix for unbounded memory consumption for hashesNicholas Clark2021-12-201-0/+4
| | | | This is a fix for a bug introduced two months ago in v5.35.5.
* Mention builtin in perldeltaPaul "LeoNerd" Evans2021-12-181-0/+21
|