Skip to content

Add spec for StringScanner#pos with multi-byte character#1257

Merged
andrykonchin merged 1 commit into
ruby:masterfrom
herwinw:stringscanner_charpos_multibyte
Apr 17, 2025
Merged

Add spec for StringScanner#pos with multi-byte character#1257
andrykonchin merged 1 commit into
ruby:masterfrom
herwinw:stringscanner_charpos_multibyte

Conversation

@herwinw
Copy link
Copy Markdown
Member

@herwinw herwinw commented Apr 14, 2025

This is where this method differentiates from charpos.

This is where this method differentiates from charpos.
@herwinw herwinw linked an issue Apr 14, 2025 that may be closed by this pull request
@andrykonchin
Copy link
Copy Markdown
Member

Thank you! Makes sense.

@andrykonchin andrykonchin merged commit 5c69a4d into ruby:master Apr 17, 2025
14 checks passed
@herwinw herwinw deleted the stringscanner_charpos_multibyte branch April 17, 2025 15:29
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.

Improve specs for StringScanner#pos and StringScanner#charpos

2 participants