Skip to content

Regexp literal backslash getting stripped  #338

Closed
@Neurogami

Description

@Neurogami

Run rdoc over enum.c

The comments in the source code have this:

 e = lines.slice_after(/(?<!\\)\n\z/)

but the resulting rdoc output has this:

e = lines.slice_after(/(?<!\)\n\z/)

Note the missing backslash after the exclamation point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions