Skip to content

match and =~ arg order #197

@dshemetov

Description

@dshemetov

Not a big deal, but the part in the docs that says that =~ is an alias for match confused me, since they actually swap arguments: match pattern target vs target =~ pattern. You can try this out: [("send" =~ "s"), (match "s" "send")] to confirm.

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