Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

v0.6.1

Latest
Compare
Choose a tag to compare
@gafter gafter released this 14 Jul 19:06
· 3 commits to main since this release
cc2d31e
  • Remove support for quoted expressions as literal patterns. It didn't
    work right, and it interferes with extensions to provide more clever
    introspection in the future.
  • Changed from the use of Base.isequal to Rematch2.ismatch for
    compat with Match.jl and to add some flexibility (clients can override
    it for specific types). Then implemented the usual suspects (default to
    isequal) and added support for ranges and regular expressions.
  • Added more precise support for macros to support bignums, verbatim
    literals, version identifiers, and other string macros.
  • Added support for a Symbol positional pattern (one parameter: its
    string form).
  • Removed support for Expr that merely compared with the input using
    isequel. This permits us to add perhaps more flexible expression
    matching in the future.
  • Fixed a bug in Match.jl that SubStrings will not match a regular
    expression.
  • Add support for pattern, if condition end guard syntax
  • Add support for @ismatch macro
  • Preserve pattern variable names in the generated code.
  • Remove support for let for the @match block.