Skip to content

Regexp literal options getting stripped #259

@zzak

Description

@zzak

The examples from here are getting stripped, for example:

/abc/ == /abc/x #=> false
/abc/ == /abc/i #=> false
/abc/ == /abc/u #=> false
/abc/u == /abc/n #=> false

are becoming:

/abc/ == /abc/ #=> false
/abc/ == /abc/ #=> false
/abc/ == /abc/ #=> false
/abc/ == /abc/ #=> false

/cc documenting-ruby/ruby#20

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions