Skip to content

Add missing StringScanner methods #11259

Open
@postmodern

Description

Crystal's StringScanner does not support every method which Ruby's StringScanner does.

  • #beginning_of_line?
  • #get_byte
  • #getch
  • #match
  • #match?
  • #matched?
  • #matched_size
  • #exist?
  • #pos
  • #rest?
  • #rest_size
  • #pre_match
  • #post_match
  • #<<
  • #concat
  • #unscan

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions