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

No docs about supported regular expression syntax #27

Open
EmilyGraceSeville7cf opened this issue Oct 11, 2021 · 2 comments
Open

No docs about supported regular expression syntax #27

EmilyGraceSeville7cf opened this issue Oct 11, 2021 · 2 comments

Comments

@EmilyGraceSeville7cf
Copy link

EmilyGraceSeville7cf commented Oct 11, 2021

There is no way to understand which regex features are supported without testing it manually. Please specify it in README as basic regex|extended regex|perl compatible regex (maybe another regex flavor used).

You can assign me to this issue and I will try to fix it.

@aum7
Copy link

aum7 commented Feb 9, 2024

give an example of regex use in search & replace case

@dansmindspace
Copy link

Here are somethings I worked out about how it supports RegEx capture groups:

  1. They don't support (?<name> pattern)
  2. Captured groups indexes start at 1
  3. Use \i to reference a capture group in the replace field i is the index to use not a literal i

Example:

File name: Test 123

Find: (.*) (\d\d\d)
Replace: \2 \1
Result: 123 Test

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

No branches or pull requests

3 participants