8000 Multiline Regexp by also ignoring linebreaks · Issue #5 · tc39/proposal-regexp-x-mode · GitHub
[go: up one dir, main page]

Skip to content
Multiline Regexp by also ignoring linebreaks #5
@martinheidegger

Description

@martinheidegger

It seems like a low hanging fruit to also ignore linebreaks as characters that are ignored in x mode that would open the door to good multi-line RegExp definitions.

r = /
  [0-9]{1,4} # the first few digits
/x

It maybe good to have an FAQ explainer that explains this absence (or support it)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0