[9.0] Backport regex operand parentheses fix - #3929
Merged
Merged
Conversation
Record Copilot assistance with resolving and validating the 9.0 backport of #3927 without altering the source-attributed cherry-pick. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backports #3927 (b123371) to
hotfix/9.0.5and addresses #3923.Preserves the merged implementation: precedence-aware parentheses for both regex operands, corrected regex/concatenation precedence, and JSON traversal handling with the CAST exception. Constant, column, and parameter patterns remain unchanged; the six JSON-existence baseline updates are retained.
Only cherry-pick conflict resolution was needed for 9.0. The existing EF Core 9.0.14
JsonScalarExpressionhandling passes theToJsonregression without additional product changes. SDK/dependency manifests are unchanged.Validation using isolated .NET SDK 9.0.312 and local PostgreSQL 18.4:
ToJson/ad hoc JSON, Northwind functions (including string translations), array, and full-text suites: 1,338 passed, 14 pre-existing skips, zero failures.ToJsonqueries.The source commit was cherry-picked with
-x; a separate empty commit records Copilot-assisted backport attribution without amending the cherry-pick.