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 start and end of line anchors cannot be used alone in Search with Regex. #5680

Closed
3 tasks done
Starmania opened this issue Mar 27, 2023 · 1 comment
Closed
3 tasks done
Labels

Comments

@Starmania
Copy link

Starmania commented Mar 27, 2023

  • Searched existing issues to avoid creating duplicates.

  • Confirmed that it can be reproduced in built-in themes without customized css.

    If it only exists in 3rd party themes or css, you can still report it, but please attach the theme target or the css file. We may not "fix" it, if it is caused by 3rd party themes or css styles that we cannot support.

  • Searched http://support.typora.io/


Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Open Search
  2. Activate Regex mode
  3. Search for ^ or $ without anything else
  4. No match will be found

Expected behavior
With ^:

  • Every start of line in the file should match

With $:

  • Every end of line in the file should match

Desktop (please complete the following information):

  • OS: Windows 10 64bit

Typora Version

  • 1.5.10
@abnerlee
Copy link
Contributor

Typora does not render line start or line end, and currently search result can only return visible strings.

please try ^. or .$ instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants