Skip to content

fix: preserve localized regex capture variables - #1138

Merged
fglock merged 2 commits into
masterfrom
fix/localized-regex-captures
Aug 26, 2026
Merged

fix: preserve localized regex capture variables#1138
fglock merged 2 commits into
masterfrom
fix/localized-regex-captures

Conversation

@fglock

@fglockfglock commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • preserve magic handling for every localized numbered regex capture
  • restore IO-handle type checks and exact uninitialized-warning diagnostics used by test_pl/examples.t
  • add focused regression coverage and WIP changelog entries

Validation

  • perl src/test/resources/unit/localized_regex_captures.t
  • ./jperl src/test/resources/unit/localized_regex_captures.t
  • ./jperl --interpreter src/test/resources/unit/localized_regex_captures.t
  • perl src/test/resources/unit/examples_warning_and_io.t
  • ./jperl src/test/resources/unit/examples_warning_and_io.t
  • ./jperl --interpreter src/test/resources/unit/examples_warning_and_io.t
  • perl dev/tools/perl_test_runner.pl perl5_t/t/test_pl/examples.t (17/17)
  • make
  • make check-links

Closes#1127

Generated with Codex

fglockand others added 2 commits August 26, 2026 15:44
Keep every numbered capture variable magic while it is localized so matches
update $2 and higher just as they update $1. Add coverage for nested capture
localization and MIME encoded-word parsing.
Fixes#1127
Generated with [Codex](https://openai.com/codex/)
Co-Authored-By: Codex <codex@openai.com>
Recognize IO slots as IO::Handle objects and retain lexical names and
#line locations in uninitialized arithmetic warnings.
Generated with [Codex](https://openai.com/codex/)
Co-Authored-By: Codex <codex@openai.com>
@fglock
fglock merged commit d32435f into masterAug 26, 2026
@fglock
fglock deleted the fix/localized-regex-captures branch August 26, 2026 15:47
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix multiple localized regex capture variables on both backends

1 participant

@fglock