Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regular Expression Search & Replace with only ^ or $ replaces nothing #1562

Closed
miles-harrison opened this issue Apr 4, 2022 · 3 comments
Closed

Comments

@miles-harrison
Copy link

Preconditions

  • HeidiSQL version: 11.3.0.6295 (64 bit)
  • Database type and version: MYSQL
  • OS: Windows

Describe the bug
When you try a regular expression search and replace, the editor says it's replaces X instances but nothing happens. The editor text is unchanged.

To Reproduce

  1. Go to the SQL pain, place in some text - search, replace text. Try a regular expression replace of $ to '),
  2. Click on "replace".
  3. Get a popup saying replaced X times but nothing happens.

Screenshots or Crash reports
image

@ansgarbecker
Copy link
Collaborator

Confirmed. Though that seems to be limited to the end of line / dollar sign.

@miles-harrison
Copy link
Author

miles-harrison commented Apr 4, 2022 via email

@ansgarbecker ansgarbecker added this to the v12.0 milestone Apr 4, 2022
@ansgarbecker
Copy link
Collaborator

Fixed by merging recent updates from https://github.com/andgineer/TRegExpr/

@ansgarbecker ansgarbecker changed the title Regular Expression Search & Replace doesn't work Regular Expression Search & Replace with only ^ or $ replaces nothing Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants