Skip to content

Remove use of joined idents in regexes for ruby#2225

Merged
jneen merged 2 commits intomainfrom
maint.ruby-fix-join-regex
Feb 27, 2026
Merged

Remove use of joined idents in regexes for ruby#2225
jneen merged 2 commits intomainfrom
maint.ruby-fix-join-regex

Conversation

@jneen
Copy link
Copy Markdown
Member

@jneen jneen commented Feb 26, 2026

This approach uses fallthrough! to maintain the previous behaviour. The visual sample lexes with exactly the same tokens/values, and performance is within error bars.

@jneen jneen force-pushed the maint.ruby-fix-join-regex branch from 2a20bd7 to 5a61e2b Compare February 26, 2026 19:13
@jneen jneen added this pull request to the merge queue Feb 27, 2026
Merged via the queue into main with commit 6a4ae1d Feb 27, 2026
10 checks passed
@jneen jneen deleted the maint.ruby-fix-join-regex branch February 27, 2026 14:31
@larouxn larouxn mentioned this pull request Feb 27, 2026
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.

1 participant