Skip to content
New issue

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

Improve rule parsing to recognize lambda expression #47

Open
formix opened this issue Jan 6, 2021 · 0 comments
Open

Improve rule parsing to recognize lambda expression #47

formix opened this issue Jan 6, 2021 · 0 comments

Comments

@formix
Copy link
Owner

formix commented Jan 6, 2021

The current pattern works with most lambda except when the lambda has only one parameter. The rule parsing logic should branch if it detects a fat arrow or not and use a specific regex to parse parameters in each case.

@formix formix changed the title Improve the regex pattern to recognize lambda expression Improve rule parsing to recognize lambda expression Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant