Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Update regex for named bindings #1251
Fixes #1228 . I'm unsure why the first condition of the regular expression was there, as it shouldn't matter at all?
It should now properly match named bindings, and will not require a space before the binding (see related issue).
I also added a test for this based on examples in documentation.