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

Fix getEntry regex to handle additional cases #250

Merged
merged 1 commit into from
Jan 25, 2018
Merged

Fix getEntry regex to handle additional cases #250

merged 1 commit into from
Jan 25, 2018

Conversation

wingrunr21
Copy link
Collaborator

This updates the entry regex to handle the uses cases outlined in #234. The original regex did not correctly match on patterns like def foo(params = {}) or bar = if ....

This fixes #234.

It will not handle default arguments being a hash  (eg def foo(params =
{})) as well as other text coming before the entry (eg foo = if …)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Indentation and detection for end's
2 participants