Reggy v1.1 Is Out.
I just pushed a new version of Reggy (my little open-source project for visually matching regular expressions). Version 1.1 adds much-needed AppleScript support and the ability to change the font and font size.
Enabling AppleScript support shouldn’t be as hard as it is to grasp I think. It took a few nights fiddling around before it started working all the time for me
There is one known issue that I allowed to slip through concerning the AppleScript support: If you change the checkbox values for matching certain criteria, the UI doesn’t update the checkbox properly. The program gets the change properly and matches accordingly, but it’s as if the UI doesn’t see the change. Note that I am using bindings for the checkboxes so I figure this should be working. Anyone with expertise in AppleScript, please help!
Could you please provide a quick sample on how to use Reggy with AppleScript?
I’m fighting with it right now and so far nothing seems to work : )
Anyways, thanks for Reggy. It is truly a great tool ; )
Uh… here’s a quick sample (run from inside TextMate :):
Next step: a “Test Regexp” command for TextMate
Reggy is neat, but what flavour regexps does it use? I usually need perl-compatible regexps.
Sorry it took so long for me to respond guys, I don’t have email setup on this server yet, so I didn’t see any comments coming in.
The dictionary for Reggy is very simple right now, here is an example:
Keep in mind that there is an outstanding issue with the UI not updating for the checkboxes when set with AppleScript. The match will follow what you ask in the script, but the interface will be dumb for some reason.
AppleScript seems to be very picky about a lot of things, so if anything doesn’t seem to be working, let me know.
Ian: The default syntax is Ruby Syntax
Sam, great app! This is gonna be really useful! Thanks!
One question: you said that “The default syntax is Ruby” - is there a way to change the syntax? Perl, Java, etc, would be useful.
Oh, and I added your app to iusethis.com.
Avi:
Thanks for the words of encouragment!
When I said the default was Ruby syntax, I really meant that it is set to Ruby period.
There are some currently open tickets in the issue tracker on Reggy’s Google Code website to maybe do preferences, and maybe one of the new preferences could be syntax? If you think this would be helpful, do me a big favor and write up a quick issue on the Google Code page.
Oh yeah, and thanks again for submitting Reggy to iusethis, I am glad to see someone besides me uses it!