From edi at agharta.de Wed Apr 7 20:17:49 2004 From: edi at agharta.de (Edi Weitz) Date: Wed, 07 Apr 2004 22:17:49 +0200 Subject: [regex-coach] New release 0.6.5 Message-ID: Hi! I've just released a new version (0.6.5) of The Regex Coach. This basically only fixes a small bug. Here's the changelog: Have fun, Edi. From leegold2 at verizon.net Mon Apr 12 00:50:42 2004 From: leegold2 at verizon.net (leegold) Date: Sun, 11 Apr 2004 20:50:42 -0400 Subject: [regex-coach] possible regex coach bug Message-ID: <4079E7E2.4060402@verizon.net> Hi, I get the message: T is not of type #:FIX and then I click OK and the the programs ends. So regex coach appears to gracefully crash. I use Win2k. use: ^.{2}[a-z]{1,2}_?[0-9]*([1-6]|[a-f])[^1-9]{2}a+$ against: Axi_234b0Gaaa then out your cursor between the 0 and the G in the string. then press enter so that Gaaa will be on line below Axi_234b0 so you'll see: Axi_234b0 Gaaa then, check the s box. And I get the crash. I got the regex example from: http://jon.oxer.com.au/regex-cheat-sheet.php Thanks, Lee G. From edi at agharta.de Mon Apr 12 10:40:20 2004 From: edi at agharta.de (Edi Weitz) Date: Mon, 12 Apr 2004 12:40:20 +0200 Subject: [regex-coach] possible regex coach bug In-Reply-To: <4079E7E2.4060402@verizon.net> (leegold2@verizon.net's message of "Sun, 11 Apr 2004 20:50:42 -0400") References: <4079E7E2.4060402@verizon.net> Message-ID: On Sun, 11 Apr 2004 20:50:42 -0400, leegold wrote: > use: > > ^.{2}[a-z]{1,2}_?[0-9]*([1-6]|[a-f])[^1-9]{2}a+$ > > against: > > Axi_234b0Gaaa > > then out your cursor between the 0 and the G in the string. > then press enter so that Gaaa will be on line below Axi_234b0 > so you'll see: > > Axi_234b0 > Gaaa > > then, check the s box. And I get the crash. You are right, this is a bug. Thanks for reporting it. Some simple tests show that this is a bug in the GUI and not in the regex engine. I'll try to fix this in the next days but I cannot guarantee a date as I'm quite busy right now. Thanks again, Edi. From whollyanointed at hotmail.com Fri Apr 16 18:01:23 2004 From: whollyanointed at hotmail.com (Seen Sai Yang) Date: Fri, 16 Apr 2004 14:01:23 -0400 Subject: [regex-coach] Possessive Quantifier + Problem with the Regex Coach Message-ID: I tried an example from the Regex Tutorial (http://www.regular-expressions.com/atomic.html) with the following regex (at the bottom of the page): \d++6 gave an error "Quantifier '+' not allowed at position 3" The same regex worked in PowerGREP. Regards, SSY _________________________________________________________________ MSN Toolbar provides one-click access to Hotmail from any Web page ? FREE download! http://toolbar.msn.com/go/onm00200413ave/direct/01/ From edi at agharta.de Fri Apr 16 19:13:55 2004 From: edi at agharta.de (Edi Weitz) Date: Fri, 16 Apr 2004 21:13:55 +0200 Subject: [regex-coach] Possessive Quantifier + Problem with the Regex Coach In-Reply-To: (Seen Sai Yang's message of "Fri, 16 Apr 2004 14:01:23 -0400") References: Message-ID: On Fri, 16 Apr 2004 14:01:23 -0400, "Seen Sai Yang" wrote: > I tried an example from the Regex Tutorial > (http://www.regular-expressions.com/atomic.html) with the following > regex (at the bottom of the page): > > \d++6 gave an error "Quantifier '+' not allowed at position 3" > > The same regex worked in PowerGREP. Hi! The Regex Coach tries to be compatible with Perl. Perl does not allow the '++' notation for 'possesive' quantifiers, you have to use '(?>...)' instead: edi at bird:~ > perl -v This is perl, v5.8.1 built for i586-linux-thread-multi Copyright 1987-2003, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. edi at bird:~ > perl -le 'print 1 if "123456" =~ /\d++6/' Nested quantifiers in regex; marked by <-- HERE in m/\d++ <-- HERE 6/ at -e line 1. edi at bird:~ > perl -le 'print 1 if "123456" =~ /(?>\d+)6/' edi at bird:~ > perl -le 'print 1 if "123456" =~ /(?>\d+)/' 1 edi at bird:~ > perl -le 'print 1 if "123456" =~ /\d+6/' 1 Cheers, Edi. From edi at agharta.de Fri Apr 16 19:21:38 2004 From: edi at agharta.de (Edi Weitz) Date: Fri, 16 Apr 2004 21:21:38 +0200 Subject: [regex-coach] possible regex coach bug In-Reply-To: <407F581B.4010105@fieldmethods.net> (Patrick Hall's message of "Thu, 15 Apr 2004 23:50:51 -0400") References: <4079E7E2.4060402@verizon.net> <407F581B.4010105@fieldmethods.net> Message-ID: On Thu, 15 Apr 2004 23:50:51 -0400, Patrick Hall wrote: > FWIW, I tried reproducing this under Linux (Fedora Core 1) and > couldn't reproduce the crash. Ah, that's interesting. I can reproduce it here (SuSE 9.0). Which version of the Regex Coach do you use? (See "Help" Menu.) > ps. regex-coach is great! Thanks... :) Cheers, Edi. From edi at agharta.de Mon Apr 19 21:27:44 2004 From: edi at agharta.de (Edi Weitz) Date: Mon, 19 Apr 2004 23:27:44 +0200 Subject: [regex-coach] New release 0.6.6 (Was: possible regex coach bug) In-Reply-To: <4079E7E2.4060402@verizon.net> (leegold2@verizon.net's message of "Sun, 11 Apr 2004 20:50:42 -0400") References: <4079E7E2.4060402@verizon.net> Message-ID: On Sun, 11 Apr 2004 20:50:42 -0400, leegold wrote: > use: > > ^.{2}[a-z]{1,2}_?[0-9]*([1-6]|[a-f])[^1-9]{2}a+$ > > against: > > Axi_234b0Gaaa > > then out your cursor between the 0 and the G in the string. then > press enter so that Gaaa will be on line below Axi_234b0 so you'll > see: > > Axi_234b0 > Gaaa > > then, check the s box. And I get the crash. I've just uploaded a new release (0.6.6) which fixes this bug. (Contrary to what I first thought this /was/ a bug in my CL-PPCRE library and not in the GUI.) Thanks again for the bug report, Edi. From reckloose99 at yahoo.com Mon Apr 19 22:06:40 2004 From: reckloose99 at yahoo.com (M Foster) Date: Mon, 19 Apr 2004 15:06:40 -0700 (PDT) Subject: [regex-coach] Possible bug: Can't insert file to main window Message-ID: <20040419220640.43158.qmail@web61202.mail.yahoo.com> I wan't to test a regex against a file, but when I put the focus on the "test string" box, the "Insert File" option is greyed out. __________________________________ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25? http://photos.yahoo.com/ph/print_splash From reckloose99 at yahoo.com Mon Apr 19 22:59:46 2004 From: reckloose99 at yahoo.com (M Foster) Date: Mon, 19 Apr 2004 15:59:46 -0700 (PDT) Subject: [regex-coach] Possible bug: Can't insert file to main window In-Reply-To: <20040419220640.43158.qmail@web61202.mail.yahoo.com> Message-ID: <20040419225946.19801.qmail@web61201.mail.yahoo.com> Sorry, but I forgot to add that I'm using the Linux version on Redhat 9. --- M Foster wrote: > I wan't to test a regex against a file, but when I > put > the focus on the "test string" box, the "Insert > File" > option is greyed out. > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Photos: High-quality 4x6 digital prints for > 25? > http://photos.yahoo.com/ph/print_splash > > _______________________________________________ > regex-coach site list > regex-coach at common-lisp.net > http://common-lisp.net/mailman/listinfo/regex-coach __________________________________ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25? http://photos.yahoo.com/ph/print_splash From edi at agharta.de Tue Apr 20 01:22:52 2004 From: edi at agharta.de (Edi Weitz) Date: Tue, 20 Apr 2004 03:22:52 +0200 Subject: [regex-coach] Possible bug: Can't insert file to main window In-Reply-To: <20040419225946.19801.qmail@web61201.mail.yahoo.com> (M. Foster's message of "Mon, 19 Apr 2004 15:59:46 -0700 (PDT)") References: <20040419225946.19801.qmail@web61201.mail.yahoo.com> Message-ID: On Mon, 19 Apr 2004 15:59:46 -0700 (PDT), M Foster wrote: > Sorry, but I forgot to add that I'm using the Linux > version on Redhat 9. > > --- M Foster wrote: >> I wan't to test a regex against a file, but when I >> put >> the focus on the "test string" box, the "Insert >> File" >> option is greyed out. Yes, you're right, the feature to load and save files seems to work on Windows only. This is probably a bug in the compiler - the code is supposed to work identically on Linux and Windows but on Linux it doesn't realize that one of the main panes has focus. I'll have to contact Xanalys support. Sorry, Edi. From kl at vsen.dk Sat Apr 24 15:36:23 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat, 24 Apr 2004 17:36:23 +0200 (CEST) Subject: [regex-coach] Not working on Gentoo Linux Message-ID: <33310.10.0.0.51.1082820983.squirrel@www.enableit.dk> Hi, I would like to try out regex-coach - but I'm running on a Gentoo system - where OpenMotif-2.2 is not available (only 2.1) - as it does not work with many proprietary binaries :( - see here: http://bugs.gentoo.org/show_bug.cgi?id=29388 Unfortunately your binary, I can't get yours to work when I have installed latest lesstif :( regex-coach binary says: write(1, "\nError: Motif version string (\"@"..., 56 Error: Motif version string ("@(#)Motif Version 2.1.30") = 56 write(1, ") indicates invalid library vers"..., 82) indicates invalid library version. Requires (("Lesstif" "2.1") ("Motif" "2.2"))) = 82 Unfortunately it does not seem to check for lesstif - which is available. I tried to mv the /usr/X11R6/lib/libXm.so.2 away to see if it would work but that gave me: Error: Motif version string ("@(#)GNU/LessTif Version 1.2 Release 0.93.94") indicates invalid library version. Requires (("Lesstif" "2.1") ("Motif" "2.2")). :( Should regex-coach not work with that? would it be possible to ask you to build your program with openmotif-2.1 - or do you really use features only in v2.2? I've heard great things about your program - looking forward to try it :) -- Regards, Klavs Klavsen, GSEC - kl at vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 See my new managed CMS Hosting Service at http://www.VirkPaaNettet.dk "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From edi at agharta.de Sun Apr 25 09:17:56 2004 From: edi at agharta.de (Edi Weitz) Date: Sun, 25 Apr 2004 11:17:56 +0200 Subject: [regex-coach] Not working on Gentoo Linux In-Reply-To: <33310.10.0.0.51.1082820983.squirrel@www.enableit.dk> (Klavs Klavsen's message of "Sat, 24 Apr 2004 17:36:23 +0200 (CEST)") References: <33310.10.0.0.51.1082820983.squirrel@www.enableit.dk> Message-ID: Hi! On Sat, 24 Apr 2004 17:36:23 +0200 (CEST), "Klavs Klavsen" wrote: > I would like to try out regex-coach - but I'm running on a Gentoo > system - where OpenMotif-2.2 is not available (only 2.1) - as it > does not work with many proprietary binaries :( - see here: > http://bugs.gentoo.org/show_bug.cgi?id=29388 I remember having similar problems when I used Gentoo - I installed 2.2. anyway. (IIRC it /is/ available, it is just masked out.) > Unfortunately your binary, I can't get yours to work when I have > installed latest lesstif :( > > regex-coach binary says: > > write(1, "\nError: Motif version string (\"@"..., 56 > Error: Motif version string ("@(#)Motif Version 2.1.30") = 56 > write(1, ") indicates invalid library vers"..., 82) indicates invalid > library version. Requires (("Lesstif" "2.1") ("Motif" "2.2"))) = 82 > > Unfortunately it does not seem to check for lesstif - which is available. > > I tried to mv the /usr/X11R6/lib/libXm.so.2 away to see if it would work > but that gave me: > Error: Motif version string ("@(#)GNU/LessTif Version 1.2 Release > 0.93.94") indicates invalid library version. Requires (("Lesstif" "2.1") > ("Motif" "2.2")). You might have to downgrade to an older version of LessTif... :( > Should regex-coach not work with that? would it be possible to ask > you to build your program with openmotif-2.1 - or do you really use > features only in v2.2? I can't "build with openmotif-2.1" - Regex Coach is built using the LispWorks compiler from Xanalys[1], and the search for a suitable Motif library is built into their CAPI toolkit. You might want to search their Knowledgebase[2] for "OpenMotif" or "LessTif" - maybe you'll find something that'll help you. (Note that Regex Coach is built with the 4.3 compiler so not all entries apply.) Or maybe someone on this mailing list has a pre-0.6.0 Linux version of Regex Coach available which he can sent to you. (I don't, unfortunately.) 0.5.x and earlier were built with the 4.2 compiler and should work with OpenMotif 2.1 but you'll miss a couple of bugfixes and new features. Sorry for the inconvenience, but I don't think I can help with another binary. (I don't have the 4.2 compiler installed anymore and it would be too much work to backport the code so that it'll work with 4.2 or maintain two separate code trees.) Cheers, Edi. [1] [2] From edi at agharta.de Thu Apr 29 09:50:29 2004 From: edi at agharta.de (Edi Weitz) Date: Thu, 29 Apr 2004 11:50:29 +0200 Subject: [regex-coach] RE: Regex Coach In-Reply-To: <20040429091949.26013.qmail@web8004.mail.in.yahoo.com> Message-ID: <000101c42dcf$68cea5b0$c901000a@bird> > -----Original Message----- > From: Harish Mohanan [mailto:harishmohanan at yahoo.co.in] > Sent: Donnerstag, 29. April 2004 11:20 > To: edi at agharta.de > Subject: Regex Coach > > > How do I include a tabspace in the string to be > matched by the regex? > > For eg. if regex = A+[ \t\n]+XYZ > It should match string = AAA{tabspace from tabkey on > keyboard}XYZ > > But how do I give the tabspace from the keyboard.. > whenever I use the tab key it simpy switches over to > the other regex pane. Yes, this is not obvious from the docs... :) Type Ctrl-Q before you type the tab key and a tab character will be inserted. Ctrl-Q is used to insert the following character (whatever) literally into the text - this is a standard keybinding for Emacs but you probably don't know it if you're using other editors. Cheers, Edi. PS: Please use the mailing list for question and bug reports: