Skip to content

Navigation Menu

Sign in
Sign up

fix(native): validate range content at parse time - #19

Open
phdavis1027 wants to merge 1 commit into
dryruby:develop from
phdavis1027:fix-native-range-parsing
Open

fix(native): validate range content at parse time #19
phdavis1027 wants to merge 1 commit into
dryruby:develop from
phdavis1027:fix-native-range-parsing

Conversation

@phdavis1027

@phdavis1027 phdavis1027 commented Mar 5, 2026

Copy link
Copy Markdown

The native parser'ss terminal method accepted any content between [ and ] without validation. This meant invalid ranges like [-abc] were silently accepted instead of raising SyntaxError, despite the RANGE regex in terminals.rb correctly rejecting them.

The native parser'ss terminal method accepted any content between [
and ] without validation. This meant invalid ranges like [-abc]
were silently accepted instead of raising SyntaxError, despite the
RANGE regex in terminals.rb correctly rejecting them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /