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

The Find button on "Find and replace" works, but the Replace button does not #3004

Closed
evandrocoan opened this issue Sep 29, 2019 · 1 comment

Comments

@evandrocoan
Copy link

evandrocoan commented Sep 29, 2019

Description

bug

  1. Create a buffer only with `git`
  2. Press Ctrl+H to open Find and Replace
  3. Set Find to (?<!\*)`([^\n*`]+?)`(?!\*)
  4. Set Replace to **`\1`**

Environment

  • Operating system and version:
    • Windows 10 build 15063 x64
    • Resolution 1920x1080
    • dpi_scale 1.0
    • Sublime Text:
    • Build 3207
    • 64 bit

"Solution"

  1. Find to ((?:[^*]))`([^\n*`]+?)`(?!\*)
  2. Replace to \1**`\2`**
@keith-hall
Copy link
Collaborator

possible duplicate of #2038

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

3 participants