Skip to content

Interpolation in Regex /foo#{bar}/ not highlighted for ruby #2839

@sampatbadhe

Description

@sampatbadhe

Information

  • Language: ruby

Description
Interpolation in Regex /foo#{bar}/ not highlighted for ruby.

This happens when regex wrapped with /.../, interpolation highlighted correctly with %r{...}

Screen Shot 2021-03-30 at 4 38 16 PM

Code snippet

Test page

Interpolation in Regex /foo#{bar}/ not highlighted for ruby
/foo#{bar}/

%r[foo#{bar}]

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