Where does RegexBuddy store its working data between uses?
Asked Answered
B

2

6

Ok, so I'm an idiot.

So I was working on a regex that took way to long to craft. After perfecting it, I upgraded my work machine with a blazing fast hard drive and realized that I never saved the regex anywhere and simply used RegexBuddy's autosave to store it. Dumb dumb dumb.

I sent a copy of the regex to a coworker but now he can't find it (or the record of our communication). My best hope of finding the regex is to find it in RegexBuddy on the old hard drive. RegexBuddy automatically saves whatever you were working on each time you close it. I've done some preliminary searches to try to determine where it actually saves that working data but I'm having no success.

This question is the result of my dumb behavior but I thought it was a good chance to finally ask a question here.

Battleship answered 10/9, 2008 at 19:36 Comment(0)
S
9

On my XP box, it was in the registry here:

HKEY_CURRENT_USER\Software\JGsoft\RegexBuddy3\History

There were two REG_BINARY keys called Action0 and Action1 that had hex data containing my two regexes from the history.

Screenshot of the Action registry key

The test data that I was testing the regex against was here:

C:\Documents and Settings\<username>\Application Data\JGsoft\RegexBuddy 3
Sauterne answered 10/9, 2008 at 20:6 Comment(1)
Your observations are correct. The binary registry values are actually XML data. The regex itself is human-readable between the XML tags.Fortuna
N
1

It depends on the OS, of cause, but on Windows I would guess the application data directory. I can't remember the path on xp but on vista it's something like this:

C:\Users\ user name \AppData\

And then it would probably be here:

C:\Users\ user name \AppData\roaming

Newtonnext answered 10/9, 2008 at 20:0 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.