Skip to content

Conversation

niall-byrne
Copy link
Contributor

@niall-byrne niall-byrne commented Aug 8, 2025

This is almost a repeat of the last commit.

Bash also supports having the at sign in function names:

@fake.python.decorator.fn() { echo "hello there"; }

This short commit expands the regex to support this usage.


I added a second commit to handle multiline subshells by ignoring the subshell boundaries:

(
   echo "I'm stuck in a subshell, let me out."
)

@niall-byrne niall-byrne force-pushed the master branch 2 times, most recently from 807d343 to 717e711 Compare August 8, 2025 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant