Is there a reason you're wanting to use RegEx instead of Text Query for a search like that? Usually when searching for just a word, you'd use Text Query, RegEx is intended for more complex pattern matching.
To answer your initial question though, I'm not sure why it's not working when setting it to RegEx on your machine. If I do a similar search on mine, I get the same results as when using Text Query.
Don W
73 discussion posts
I wanted to use the simplest regex I could think of, that's all. I've tried others and have never gotten any matches.
Ah ok, gotcha! It is strange that it's not working. If you put some text in a new text file and try a simple regex on that one, does it return any results?
Don W
73 discussion posts
No luck, searching a simple text file with the above regex yields the same results.
This is happening on at least 2 of the PCs I use, so it's not weirdness associated with 1 machine.
Does it make any difference if "Process file contents using file handlers" is enabled or disabled when you're doing the search?
Don W
73 discussion posts
No difference.
I'm not missing something simple like quotes around the regex or something, am I?
How about posting a screen shot of a working regex search? I might see something obvious
You're not missing anything that I can see. I've attached two screenshots below of the Search and Advanced tabs from my simple regex search.
Could you try yours again and send me screenshots of the Search and Advanced tab?
RegexAdvancedTab.png
RegexSearchTab.png
Don W
73 discussion posts
Here are the screen shots
Advanced tab.jpg
Query is RegEx.jpg
Query is text query.jpg
Could you attach the sample file you used for those screenshots? Maybe there's something strange with the encoding that I'm not seeing here with my test files.
Don W
73 discussion posts
You bet
• Attachment [protected]: fileseek regext test.txt [42 bytes]
Ok, I'm absolutely stumped on this. Even with this file, I still get results when doing a regex query. Let me sleep on this over the weekend and hopefully I'll have another idea on Monday.
Don W
73 discussion posts
Any epiphanies yet, Keith?
Don W
73 discussion posts
OK, here's the debug log
• Attachment [protected]: FileSeekDebugInfo.zip [59,034 bytes]
Ok, we might have something here. Do you have the "Treat query text as one large query term" option enabled in Tools > Settings > Search? If so, could you try disabling that and then see if the regex queries work?
Don W
73 discussion posts
Bazinga! That seems to do it, at least for a plain string search.
Is this a bug that needs to be fixed? Or a limitation in the app?
Don W
73 discussion posts
So I've found 3 issues - blank tabs, scrambled buttons, and this one. Do you guys have any sort of "bug bounty"?
We don't have a bug bounty program, no. We do appreciate the bug reports though!