Skip to content

Conversation

@ahkcs
Copy link
Contributor

@ahkcs ahkcs commented Oct 21, 2025

Restore string literal escape processing (, ', ") in StringUtils.unquoteText() that was accidentally from the 2.19-dev branch during Spotless formatting backport (commit c6b37d0).

This escape handling exists in main branch (added in Feb 2023, commit d608412) but was lost when Spotless changes were backported to 2.x in Aug 2023.

Changes:

  • Restore escape sequence handling in StringUtils.unquoteText()
  • Update doctest expectations in expressions.rst
  • Update PPL string function test expectations
  • Update backslash escaping in SearchCommandIT and WildcardQueryIT tests

Without this fix, string literals with escape sequences like 'example\.com' for regex patterns are not processed correctly.

Restore string literal escape processing (\, \', ") in StringUtils.unquoteText()
that was accidentally removed from the 2.19-dev branch during Spotless formatting
backport (commit c6b37d0).

This escape handling exists in main branch (added in Feb 2023, commit d608412)
but was lost when Spotless changes were backported to 2.x in Aug 2023.

Changes:
- Restore escape sequence handling in StringUtils.unquoteText()
- Update doctest expectations in expressions.rst
- Update PPL string function test expectations
- Update backslash escaping in SearchCommandIT and WildcardQueryIT tests

Without this fix, string literals with escape sequences like 'example\\.com'
for regex patterns are not processed correctly.

Signed-off-by: Kai Huang <[email protected]>
@ahkcs
Copy link
Contributor Author

ahkcs commented Oct 22, 2025

closing as #4604 merged

@ahkcs ahkcs closed this Oct 22, 2025
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