Skip to content

Add missing StringScanner methods #11259

@postmodern

Description

@postmodern

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

Metadata

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