QOwnNotes
QOwnNotes copied to clipboard
Feature Request: Regex search of notes
Under 'search or create note', it would be great to create some variation of a regex or plain text option similar to how there is an option in the in-note search to use regex.
How would that look like in the user interface? Currently this is how you can search: https://www.qownnotes.org/getting-started/searching.html
Clicking the magnifying glass could bring up a dialogue that might allow for a regex style search of ALL notes, similar to the one at the bottom of notes for regex within a note
On Sun, 24 Jan. 2021, 5:00 pm Patrizio Bekerle, [email protected] wrote:
How would that look like in the user interface? Currently this is how you can search: https://www.qownnotes.org/getting-started/searching.html
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pbek/QOwnNotes/issues/2022#issuecomment-766297592, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXJ6QMGQHORF7OC4WVJDXLS3OZRNANCNFSM4WQHR2MA .
Interaction with the glass sounds like a possible idea (although the glass currently is a background image). And the reg-exp search shouldn't go against the current search syntax from https://www.qownnotes.org/getting-started/searching.html.
I think this will require a bit of work
- A search dialog?
- Possibly a dockwidget to display the search results from all the notes
Not sure how the devs here operate yet as far as requests, but as a recent fan of QOwnNotes, I'd like to give a +1 to this feature request. The more regex the better.
You could create a search bar similar to https://www.voidtools.com/en-au/support/everything/ where there's an option in the menu to 'enable regex search' or create a new note under a 'file' option like in most office applications
I support this request. Regex search or at least wildcard search is an absolutely necessary feature. Without it, it's impossible to find the right fragments.
https://www.qownnotes.org/getting-started/searching.html?
One somewhat simple and fast way to do this could be to use grep or whatever the platform provides to do the search and use the results to create a UI.
Excuse me, @pbek, I don't see there a regex or wildcard search options. I saw that page previously. And I tried to find something like foo*bar or foo.*bar and I could not get it working. What am I doing wrong?
I don't see there a regex or wildcard search options.
There is none, you can only do a sub-string search, for your simple case foo*bar that would be foo bar (but in any order).
that would be foo bar (but in any order)
But it searches for any of the two words foo or bar separately, and not the sequence foo and some bar.
That's correct.
First thing: I'm new to QOwnNotes and a big fan. I'll be thrilled to find a OneNote killer. You're closing in. I offer only support and suggestions for productive change.
- Search function: I agree with @jjisnow: New capabilities in search will make QOneNotes more of a OneNote killer.
- You don't need all OneNote capability to attract me. Yet, this search capability is important to me.
- @quicktrick says above this is "an absolutely necessary feature"; maybe it's more important to them than to me.
- For me, a sub-string search might be a good first response to this Issue. I acknowledge the value of regex, but if it would block doing a sub-string search, I'd delay it.
- Feedback on https://www.qownnotes.org/getting-started/searching.html: The meaning of the page isn't getting to me. Maybe it assumes the reader will understand the full context. I looked for a while; I didn't find a panel that renders a search field the same as the one in the picture (reformatting of all search fields after doing these docs? value in updating the picture?) I didn't find a search field that found a target in a different note.
"The difference between ignorance and stupidity is that ignorance is curable with education." I hope I'll be good after getting some education! Thanks in advance.
Thank you for your suggestions!
Feedback on https://www.qownnotes.org/getting-started/searching.html:
Do you have any suggestions for the text? You could edit the page on https://github.com/pbek/QOwnNotes/edit/develop/webpage/src/getting-started/searching.md
I now added some more extra description to the "searching" page.