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

How to find/replace with regx $ for simple end of line(EOL) in the "Find/Replace with..." panel? #226

Open
3 tasks done
luojingwen opened this issue Oct 6, 2022 · 0 comments

Comments

@luojingwen
Copy link

Prerequisites

  • Can you reproduce the problem with Debug -> Reload Without Extensions?
  • Did you perform a cursory search to see if your bug or enhancement is already reported?
  • Did you read the Troubleshooting guide?

Description

I am a new user of Brackets. When I want to find/replace end of line(EOL) with regx $ in the find/replace panel, it just shows up "No results". But somehow, it do support ^ for start of line.

Can we have the feature for just find/replace for simple end of line(EOL)?

Steps to Reproduce

  1. Open the "Find/Replace" panel from "Find" menu
  2. Type $ in the "Find" search box
  3. Activate the regx option

Expected behavior: The find/replace function can support for general find/replacement for just simple end of line(EOL), do not need to put . or specific characters before the end of line(EOL), e.g.: (.)$ or (text)$ for catching specific end of line(EOL) with specific replacement regx in the "Replace with..." box, e.g.: $1text-for-replacement .

Actual behavior: The "Find" box just shows up "No results", only works for .$, text$, (.)$ etc.

Versions

I downloaded the Brackets.2.1.2.dmg from Brackets GitHub releases page.
Release 2.1 build 2.1.2-17937 (master 167640b)
build timestamp: Tue Jul 12 2022 11:51:51 GMT+0530

Suggestion

Can we provide simple user tips for how to use regx in the find/replace panel within the "Getting Started" page shipped with Brackets?

Thank you!

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

No branches or pull requests

1 participant