This repository has been archived by the owner on Aug 18, 2023. It is now read-only.
Releases: JuliaServices/Rematch2.jl
Releases · JuliaServices/Rematch2.jl
v0.6.1
- 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
toRematch2.ismatch
for
compat withMatch.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
SubString
s 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.
v0.4.0
Changes since last tagged version:
Features:
- Provide macros by which you can either fail in the value part of a rule, or "return" early from that block of code. (#29)
- Permit clients to specify which fields of a type should be matched positionally (#46)
Minor issues:
- Addressed precedence issues in
where
patterns (#49)
Minor improvements:
Prerelease for raicode use.
Snapshot for use in clients such as raicode.