Skip to content

match() vs. test() #236

@cjihrig

Description

@cjihrig

This is a really small question, but is there a reason that string.match() seems to be preferred over regexp.test(), even when using the result as a Boolean?

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew functionality or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions