← Back to Pull requests

Editorial: Simplify the definition of regular expression "character" as a Unicode code point #4048

Open
gibson042 opened this pull request with 4 lines diff across 1 files
View on GitHub
gibson042 gibson042 commented on Oct 30, 2026 14:52 UTC
Author

For a BMP pattern, its source is a single 16-bit String element and its value is correspondingly restricted to the Basic Multilingual Plane.

For a Unicode pattern, its source is output from StringToCodePoints and its value is unrestricted.

This is a small step along the path of improving the rigor of how we define regular expression semantics.

Diff: 4 lines (+2 / -2) across 1 files Reviewer: linusg Review duration: 51463m
All Vouch review confidence checks passed
Residual risk 0.06 = Change Risk (0.20) × (1 − Review Confidence (0.69)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.20 · 4 lines diff across 1 files
0.20
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.56 · 1 substantive comment(s)
0.56
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
68%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.096
Real PR Conversation Timeline
3 items
github-actions[bot] github-actions[bot] commented on Oct 30, 2026 15:03 UTC
Bot

The rendered spec preview for this PR is available as a single page at https://tc39.es/ecma262/pr/4048 and as multiple pages at https://tc39.es/ecma262/pr/4048/multipage .

<hidden purpose="for-rewritable-pr-comment-action-use" value="tc39_pr_preview_comment"></hidden>

linusg linusg approved these changes on Oct 30, 2026 15:10 UTC
Approved Reviewer

Approved these changes.

Reviewers
Assignees
gibson042 gibson042
Labels
risk: low confidence: 68.9% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 19.6% (LOW) · Higher = larger blast radius
19.6%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 68.9% · Lower = rushed or shallow review
68.9%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 6.1% · Safe to merge
6.1%
Repository