Skip to content

Conversation

@fglock
Copy link
Owner

@fglock fglock commented Jan 29, 2026

Summary\n- Make lexer code-point aware for Unicode identifiers (surrogate pairs).\n- Validate identifiers using Unicode XID properties and UTF-8 byte length limits.\n- Fix substr/lvalue substring operations to operate on Unicode code points.\n- Improve parser diagnostics (e.g. for loop variable error).\n- Fix strict-vars handling for special sort vars / to avoid aborting regex test files under strict.\n\n## Test results\n- make: PASS\n- perl dev/tools/perl_test_runner.pl perl5_t/t/comp/parser.t: improved (73/193)\n- perl dev/tools/perl_test_runner.pl perl5_t/t/uni/variables.t: improved (66764/66880)\n- perl dev/tools/perl_test_runner.pl perl5_t/t/re/pat_rt_report.t: unblocked (2379/2514)\n\n## Notes\nNo test files were modified.

@fglock fglock merged commit 902ed91 into master Jan 29, 2026
2 checks passed
@fglock fglock deleted the fix-unicode-identifiers-safe branch January 29, 2026 12:59
Sign up for free to 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.

2 participants