Title

Message

Confirm

Want to earn a free FileSeek Pro license? We're looking for FileSeek translators!
<< DiscussionsReply

What's the secret to using regex's?

Avatar from Gravatar.com
Don W
54 discussion posts
I have yet to get any results doing a "Query is RegEx" search. In fact if I use the same non-regex string with both options I get the expected results for "Query is Text Query" but no results for "Query is RegEx". I've attached screen shots for both along with the "Advanced" settings tab and application-level "Search" settings.

What am I missing???
• Attachment: advanced.jpg [185,338 bytes]
advanced.jpg
advanced.jpg
• Attachment: regex.jpg [195,991 bytes]
regex.jpg
regex.jpg
• Attachment: search options.jpg [135,378 bytes]
search options.jpg
search options.jpg
• Attachment: text.jpg [470,684 bytes]
text.jpg
text.jpg
27 days ago  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
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.
27 days ago  • #2
Avatar from Gravatar.com
Don W
54 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.
27 days ago  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
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?
26 days ago  • #4
Avatar from Gravatar.com
Don W
54 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.
26 days ago  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Does it make any difference if "Process file contents using file handlers" is enabled or disabled when you're doing the search?
26 days ago  • #6
Avatar from Gravatar.com
Don W
54 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
26 days ago  • #7
Keith Lammers (BFS)'s profile on WallpaperFusion.com
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?
• Attachment: RegexAdvancedTab.png [48,722 bytes]
RegexAdvancedTab.png
RegexAdvancedTab.png
• Attachment: RegexSearchTab.png [44,911 bytes]
RegexSearchTab.png
RegexSearchTab.png
25 days ago  • #8
Avatar from Gravatar.com
Don W
54 discussion posts
Here are the screen shots
• Attachment: Advanced tab.jpg [190,220 bytes]
Advanced tab.jpg
Advanced tab.jpg
• Attachment: Query is RegEx.jpg [198,329 bytes]
Query is RegEx.jpg
Query is RegEx.jpg
• Attachment: Query is text query.jpg [221,646 bytes]
Query is text query.jpg
Query is text query.jpg
24 days ago  • #9
Keith Lammers (BFS)'s profile on WallpaperFusion.com
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.
23 days ago  • #10
Avatar from Gravatar.com
Don W
54 discussion posts
You bet
• Attachment [protected]: fileseek regext test.txt [42 bytes]
23 days ago  • #11
Keith Lammers (BFS)'s profile on WallpaperFusion.com
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.
23 days ago  • #12
Avatar from Gravatar.com
Don W
54 discussion posts
Any epiphanies yet, Keith?
18 days ago  • #13
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Nope! I'm waiting for some feedback from our devs, I'll let you know when I hear back
18 days ago  • #14
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Could you send us a debug log for this regex issue?

  • On the FileSeek Settings > Troubleshooting tab, change the Logging drop-down to "L1: Log Minimal" and click Apply
  • Try the regex search
  • Click the "Export Info to File" button on the Settings > Troubleshooting tab
  • Reply with the file attached
  • Disable debug logging after sending the log

Thanks!
18 days ago  • #15
Avatar from Gravatar.com
Don W
54 discussion posts
OK, here's the debug log
• Attachment [protected]: FileSeekDebugInfo.zip [59,034 bytes]
12 days ago  • #16
Keith Lammers (BFS)'s profile on WallpaperFusion.com
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?
9 days ago  • #17
Avatar from Gravatar.com
Don W
54 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?
9 days ago  • #18
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Not totally a bug, but definitely something we can improve. When that setting is enabled, it wraps the Query text in quotes. We'll just need to make it so that the setting is ignored if the mode is set to regex
9 days ago  • #19
Avatar from Gravatar.com
Don W
54 discussion posts
So I've found 3 issues - blank tabs, scrambled buttons, and this one. Do you guys have any sort of "bug bounty"?
7 days ago  • #20
Keith Lammers (BFS)'s profile on WallpaperFusion.com
We don't have a bug bounty program, no. We do appreciate the bug reports though!
6 days ago  • #21
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply