Skip to content

Simplify masked like#54

Open
adamdickmeiss wants to merge 4 commits into
mainfrom
simplify-maskedLike
Open

Simplify masked like#54
adamdickmeiss wants to merge 4 commits into
mainfrom
simplify-maskedLike

Conversation

@adamdickmeiss

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR refactors the maskedSplitTsTerms and maskedLike parsing loops to handle the masking backslash (\) in a single, earlier check, removing duplicated case '\\' / nested handling and simplifying control flow.

Changes:

  • Centralized backslash detection to an early if c == '\\' { ...; continue } in both maskedSplitTsTerms and maskedLike.
  • Removed now-redundant case '\\' branches and nested backslash handling inside wildcard/prefix-only error paths.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants