Skip to content

Find Text tool currently does not support regular expression's case changing replace #819

@denchat

Description

@denchat

Steps to reproduce this issue

  1. Suppose we have
    1234hello1234
  2. Want to change into
    1234HELLO1234
  3. match with
    ([\d]{4})([a-z]{5})([\d]{4})
  4. replace with
    $1\U$2$3

Current behavior

result: 1234Uhello1234

Expected behavior

result: 1234HELLO1234
https://regex101.com/r/0h6YEG/1

Possible solution

I'm not sure whether changing current regex back-end is needed.
The webste below states that Delphi doesn't support case changing context \U$match.
https://www.regular-expressions.info/refreplacecase.html
Instead Delphi supports \U0 - \U99 but it doesn't work either.

Environment

  • HeidiSQL version:

    Rev. 10.2.0.5766
    Commit: [097a902]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhances an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions