Find operation with regexp support.

I wonder if we can let Wing support find, say, Find Symbol, with the regexp feature.

hongyi-zhao's avatar
507
hongyi-zhao
asked 2024-03-02 20:29:32 -0500
Wingware Support's avatar
4k
Wingware Support
updated 2024-03-05 18:29:07 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Can you explain this request in more detail? Using the Edit > Find Symbol menu item is a way to find symbols anywhere in your project.

Wingware Support's avatar Wingware Support (2024-03-02 22:41:28 -0500) edit

I mean the fuzzy search, e.g., ab.* for filtering out all symbols starting with ab.

hongyi-zhao's avatar hongyi-zhao (2024-03-03 01:14:06 -0500) edit

What I'm seeing in Find Symbol is that it just stops working entirely after I type a few things. It should in general do a reasonably job of finding things like if you type ab it'll show things starting with ab first, then things contain ab, etc. In other words, it should do fuzzy search on its own but I think there is some sort of bug with it. We'll look into this soon. Thanks for reporting this!

Wingware Support's avatar Wingware Support (2024-03-05 08:11:56 -0500) edit

No, no, I mean the general case with regexp feature, say, searching with ab.*cd.*efand so on.

hongyi-zhao's avatar hongyi-zhao (2024-03-05 18:24:35 -0500) edit

It's supposed to do that automatically so something like abcdef will also find abonecdtwoef, but as noted I think there's something generally wrong with this, and I think I agree it's too simplistic and should offer options for search type so regex can be used.

Wingware Support's avatar Wingware Support (2024-03-05 18:30:53 -0500) edit
add a comment see more comments