Skip to content

feat: Add a new by_regex option.#62

Merged
JeffFaer merged 21 commits intomainfrom
jfaer/by_regex
Jan 17, 2025
Merged

feat: Add a new by_regex option.#62
JeffFaer merged 21 commits intomainfrom
jfaer/by_regex

Conversation

@JeffFaer
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown

@1e0ng 1e0ng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for this awesome change! Looking forward to this powerful feature in the new year.

Copy link
Copy Markdown

@alzabo alzabo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

Copy link
Copy Markdown
Member

@KatrinaHoffert KatrinaHoffert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verrrry nice! I think this can actually resolve quite a few different issues that users have reported, thanks to how versatile regex is.

I kinda wonder if we should at some point support multi-line start stanzas, since as the options and their complexity grows, the keep-sorted start line is getting longer and longer.

Base automatically changed from jfaer/joinedLines to main January 9, 2025 17:49
@JeffFaer
Copy link
Copy Markdown
Collaborator Author

I kinda wonder if we should at some point support multi-line start stanzas, since as the options and their complexity grows, the keep-sorted start line is getting longer and longer.

I'm definitely in favor of supporting multi-line start stanzas. I think that'd be useful by itself even if we were to implement some sort of keep-sorted configuration scheme where you could name long, complicated start stanzas to be re-used across a project

Copy link
Copy Markdown
Member

@KatrinaHoffert KatrinaHoffert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh at those regex examples for function names. Should be interesting what monstrosities people will come up with trying to use regex to parse non-regular languages.

@JeffFaer JeffFaer merged commit ba6ba52 into main Jan 17, 2025
@JeffFaer JeffFaer deleted the jfaer/by_regex branch January 17, 2025 15:08
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.

5 participants