Skip to content

Can't pass regex as argument unless brackets are used (which aren't actually required) #9

@PandaWood

Description

@PandaWood

This doesn't work (but should) - that is, the coloring goes awry
matches = storyText.match /{.?,.?}/g

This is the workaround (to add brackets)
matches = storyText.match(/{.?,.?}/g)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions