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 use regular expression for searches? #493

Closed
llinfeng opened this issue Apr 6, 2016 · 4 comments
Closed

How to use regular expression for searches? #493

llinfeng opened this issue Apr 6, 2016 · 4 comments

Comments

@llinfeng
Copy link

llinfeng commented Apr 6, 2016

Hi,

I found the phrase "regular expression" from repo, but was an clear how to make it work. I also saw mentioning that Sumatra PDF does work with regex from this post: http://superuser.com/questions/416244/is-there-any-pdf-reader-that-supports-word-searching-with-regular-expression

Could anyone give a working example?

Thank you!

All the best,

-Linfeng

@kjk
Copy link
Member

kjk commented Apr 6, 2016

We don't support regex searches (and the post above puts Sumatra in the "no regex support" list).

@kjk kjk closed this as completed Apr 6, 2016
@Foadsf
Copy link

Foadsf commented Dec 11, 2018

This could actually be a great feature. You already have search so adding regex should be doable. There is also the dnGREP which could be a good place to start. Here also has been similar feature request for Okular.

@Foadsf
Copy link

Foadsf commented Dec 12, 2018

this could turn into a collaboration with dnGREP and Okular.

@GitHubRulesOK
Copy link
Collaborator

GitHubRulesOK commented Mar 10, 2022

Hmm only just had time to test dnGREP today however it looks well developed to do exactly that task,
image

for locating results visually its better than pdfgrep which good as it is for a command line can be a bit limiting here I am searching for @media in a single file.

image

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

4 participants