We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Similar to what was noted in #40 (comment),
julia> @capture :(myvariable = 2) (lhs_Symbol = rhs_) true julia> @capture :(myvariable = 2) (lhs_Symbol = rhs_) | someotherpat false julia> @capture :(myvariable = 2) (lhs_ = rhs_) | someotherpat true
The second match should be true as well.
The text was updated successfully, but these errors were encountered:
@capture
There's a much simpler example:
julia> @capture(:x, a_Symbol) true julia> @capture(:x, (a_Symbol) | (a_::b_)) false
Sorry, something went wrong.
No branches or pull requests
Similar to what was noted in #40 (comment),
The second match should be true as well.
The text was updated successfully, but these errors were encountered: