From cosmotic at cybercoment.com Wed Nov 1 14:33:36 2006 From: cosmotic at cybercoment.com (Charlie Hayes) Date: Wed, 1 Nov 2006 09:33:36 -0500 Subject: [regex-coach] Feature requests/bug reports Message-ID: There seems to be some sort of leak or looping problem. After a small bit of usage, Regex Coach becomes unusably slow. Restarting the application fixes this for a short period of time before it must be restarted again, etc. It would really help to replace all the 10 radio buttons for the group extraction into a listbox or similar UI. It would also be nice if a better (less bold) font were used, or have the font be user-selectable. Thanks, Charlie From mark.baumgarten at gmail.com Sat Nov 4 14:09:55 2006 From: mark.baumgarten at gmail.com (Mark Baumgarten) Date: Sat, 4 Nov 2006 15:09:55 +0100 Subject: [regex-coach] Bug?: Pressing "alt gr"+"\\\" makes my ctrl button "sticky"... Message-ID: <47aa3f8e0611040609l54f3ec82t6dbd96dcbb677ed1@mail.gmail.com> When I enter the key combination mentioned in the subject in order to define a regex like this: * From mark.baumgarten at gmail.com Sat Nov 4 18:58:38 2006 From: mark.baumgarten at gmail.com (Mark Baumgarten) Date: Sat, 4 Nov 2006 19:58:38 +0100 Subject: [regex-coach] Re: Bug?: Pressing "alt gr"+"\\\" makes my ctrl button "sticky"... In-Reply-To: <47aa3f8e0611040609l54f3ec82t6dbd96dcbb677ed1@mail.gmail.com> References: <47aa3f8e0611040609l54f3ec82t6dbd96dcbb677ed1@mail.gmail.com> Message-ID: <47aa3f8e0611041058h27ffd01et77a8f5cb15a2a9bf@mail.gmail.com> Sorry - I was out with my question too soon - I have found the solution: I had to press both "ctrl" buttons simultaneously. Thank you for a great program (Regex Coach) - it has helped me in many ways, in particular learning and optimizing regular expressions. Mark On 11/4/06, Mark Baumgarten wrote: > > When I enter the key combination mentioned in the subject in order to > define a regex like this: * get rid of having my "ctrl" thinking that it was told to be a "sticky" > key..... > > I really like Regex Coach, but this little problem has been driving me > crazy for a week (and 150 restarts...) now. > > Is it just me or? > > I am running version 0.9 on Windows XP Professional. > > I hope someone can help.' > > Best regards > > Mark > -------------- next part -------------- An HTML attachment was scrubbed... URL: From edi at agharta.de Sat Nov 4 21:36:02 2006 From: edi at agharta.de (Edi Weitz) Date: Sat, 04 Nov 2006 22:36:02 +0100 Subject: [regex-coach] Feature requests/bug reports In-Reply-To: (Charlie Hayes's message of "Wed, 1 Nov 2006 09:33:36 -0500") References: Message-ID: Hi! On Wed, 1 Nov 2006 09:33:36 -0500, Charlie Hayes wrote: > There seems to be some sort of leak or looping problem. After a > small bit of usage, Regex Coach becomes unusably slow. Restarting > the application fixes this for a short period of time before it must > be restarted again, etc. I can't reproduce this. Do you have a specific usage pattern? Could you give me a more precise description (including regexes and target string) of what you're doing and details about the Regex Coach version and your machine and OS? > It would really help to replace all the 10 radio buttons for the > group extraction into a listbox or similar UI. Why would that help? > It would also be nice if a better (less bold) font were used, or > have the font be user-selectable. You're not the first one to ask. This will most likely appear in one of the next versions (if time permits). Thanks, Edi. From edi at agharta.de Sat Nov 4 21:37:52 2006 From: edi at agharta.de (Edi Weitz) Date: Sat, 04 Nov 2006 22:37:52 +0100 Subject: [regex-coach] Re: Bug?: Pressing "alt gr"+"\\\" makes my ctrl button "sticky"... In-Reply-To: <47aa3f8e0611041058h27ffd01et77a8f5cb15a2a9bf@mail.gmail.com> (Mark Baumgarten's message of "Sat, 4 Nov 2006 19:58:38 +0100") References: <47aa3f8e0611040609l54f3ec82t6dbd96dcbb677ed1@mail.gmail.com> <47aa3f8e0611041058h27ffd01et77a8f5cb15a2a9bf@mail.gmail.com> Message-ID: On Sat, 4 Nov 2006 19:58:38 +0100, "Mark Baumgarten" wrote: > Sorry - I was out with my question too soon - I have found the > solution: I had to press both "ctrl" buttons simultaneously. OK, good for you that it's fixed, but I couldn't reproduce it anyway. Did I understand correctly that you have a German keyboard and that this happened whenever you pressed "AltGr" in conjunction with the backslash key? Very strange. This doesn't happen with other apps? Thanks, Edi. From cosmotic at cybercoment.com Sun Nov 5 08:30:35 2006 From: cosmotic at cybercoment.com (Charlie Hayes) Date: Sun, 5 Nov 2006 03:30:35 -0500 Subject: [regex-coach] Feature requests/bug reports In-Reply-To: References: Message-ID: <970CC964-8312-4A8C-A001-7DEAE113F978@cybercoment.com> My friend was using it on some HTML, basically parsing out the decimal values from a table. Sorry I cant give you the exact strings. He's on XP pro and the latest version as of a week ago. It was pretty definite that it would freeze up, if he used it for more than one minute it would freeze up. He did some drag-selecting inside the regex box that seemed to cause repeated evaluations. As for the radio buttons, if there are more than 10 groups to extract, your out of luck. Also, you cant view the contents of the group without clicking on the radio button and then looking in the subject box. It would be great if you made the group radio buttons into a list box that displayed the group index, start, end, length, and contents. He was getting over 10 groups, maybe thats what may have been causing the freeze ups. -Charlie On Nov 4, 2006, at 4:36 PM, Edi Weitz wrote: > Hi! > > On Wed, 1 Nov 2006 09:33:36 -0500, Charlie Hayes > wrote: > >> There seems to be some sort of leak or looping problem. After a >> small bit of usage, Regex Coach becomes unusably slow. Restarting >> the application fixes this for a short period of time before it must >> be restarted again, etc. > > I can't reproduce this. Do you have a specific usage pattern? Could > you give me a more precise description (including regexes and target > string) of what you're doing and details about the Regex Coach version > and your machine and OS? > >> It would really help to replace all the 10 radio buttons for the >> group extraction into a listbox or similar UI. > > Why would that help? > >> It would also be nice if a better (less bold) font were used, or >> have the font be user-selectable. > > You're not the first one to ask. This will most likely appear in one > of the next versions (if time permits). > > Thanks, > Edi. From edi at agharta.de Sun Nov 5 14:19:42 2006 From: edi at agharta.de (Edi Weitz) Date: Sun, 05 Nov 2006 15:19:42 +0100 Subject: [regex-coach] Feature requests/bug reports In-Reply-To: <970CC964-8312-4A8C-A001-7DEAE113F978@cybercoment.com> (Charlie Hayes's message of "Sun, 5 Nov 2006 03:30:35 -0500") References: <970CC964-8312-4A8C-A001-7DEAE113F978@cybercoment.com> Message-ID: On Sun, 5 Nov 2006 03:30:35 -0500, Charlie Hayes wrote: > My friend was using it on some HTML, basically parsing out the > decimal values from a table. Sorry I cant give you the exact > strings. He's on XP pro and the latest version as of a week ago. It > was pretty definite that it would freeze up, if he used it for more > than one minute it would freeze up. He did some drag-selecting > inside the regex box that seemed to cause repeated evaluations. That sounds like the result of a complicated/inefficient regular expression. Without the exact strings it's hard to say. It frequently happens that people who don't have much experience with regular expressions end up building regexes which force the machine into seemingly endless backtracking. (Note that this isn't a problem of Regex Coach but a general problem of regular expressions.) I'd be happy to investigate this further, but I need a reproducable example first. I'm pretty sure the application doesn't have a memory leak. > As for the radio buttons, if there are more than 10 groups to > extract, your out of luck. Also, you cant view the contents of the > group without clicking on the radio button and then looking in the > subject box. > > It would be great if you made the group radio buttons into a list > box that displayed the group index, start, end, length, and > contents. I've had similar requests already and my usual reply is that Regex Coach is an application you use to /experiment/ with regular expressions while you learn them. It is not intended to be a bulk regex tester for pro users. If you use it like that and it works for you, that's fine. If it doesn't, you probably have to resort to other apps. I'm told there is "competition" that can do that but costs money - haven't tried it, though. > He was getting over 10 groups, maybe thats what may have been > causing the freeze ups. The number of groups doesn't really matter for the performance - it matters how and if they are nested and if they contain repetitions. From edi at agharta.de Sun Nov 5 14:22:09 2006 From: edi at agharta.de (Edi Weitz) Date: Sun, 05 Nov 2006 15:22:09 +0100 Subject: [regex-coach] Re: Bug?: Pressing "alt gr"+"\\\" makes my ctrl button "sticky"... In-Reply-To: <47aa3f8e0611050139s4d6dee86kcf19ff0753979@mail.gmail.com> (Mark Baumgarten's message of "Sun, 5 Nov 2006 10:39:00 +0100") References: <47aa3f8e0611040609l54f3ec82t6dbd96dcbb677ed1@mail.gmail.com> <47aa3f8e0611041058h27ffd01et77a8f5cb15a2a9bf@mail.gmail.com> <47aa3f8e0611050139s4d6dee86kcf19ff0753979@mail.gmail.com> Message-ID: [Please use the mailing list.] On Sun, 5 Nov 2006 10:39:00 +0100, "Mark Baumgarten" wrote: > You understand correctly, but I have a Danish keyboard. Now that I > have disabled everything with regards to sticky keys the problem > does not occur anymore(so my fix for the problem is not needed > anymore either...). Maybe you have these sticky keys disabled as > well...? I have had the problem on two different computers with > rather "normal "settings, I believe. You mean you set the keys to be sticky using Windows XP? I never used such a setting, so I probably have that disabled. But still, if (with these settings) the problem you described /only/ occurs with Regex Coach and not with other apps I'd be interested. From dominique.faure at gmail.com Wed Nov 8 09:11:01 2006 From: dominique.faure at gmail.com (Dominique Faure) Date: Wed, 8 Nov 2006 10:11:01 +0100 Subject: [regex-coach] Feature request Message-ID: <599dbcaf0611080111l427868d7reb4f7c19579da9e5@mail.gmail.com> Hi, I found the Regex-Coach an invaluable piece of code (I'm using it almost every days), and wanted to thank you about that. Looking at the CL-PPCRE dictionary[1], I saw that the (?{code}) and (??{code}) syntaxic forms were (obviously) not handled, but what about having the php variants (?R), (?1), (?2),... which don't imply any code pollution at the pattern level? BTW, this is really soon to come in perl5's next version[2]. In the same mood, it would be really nice to handle named capture with the help of the (?P), (?P=name), and the related (?P>name) from python/php. Regards, Dom [1] http://weitz.de/cl-ppcre/#dict [2] http://aspn.activestate.com/ASPN/Mail/Message/perl5-porters/3291152 From edi at agharta.de Thu Nov 9 07:41:35 2006 From: edi at agharta.de (Edi Weitz) Date: Thu, 09 Nov 2006 08:41:35 +0100 Subject: [regex-coach] Feature request In-Reply-To: <599dbcaf0611080111l427868d7reb4f7c19579da9e5@mail.gmail.com> (Dominique Faure's message of "Wed, 8 Nov 2006 10:11:01 +0100") References: <599dbcaf0611080111l427868d7reb4f7c19579da9e5@mail.gmail.com> Message-ID: Hi! On Wed, 8 Nov 2006 10:11:01 +0100, "Dominique Faure" wrote: > I found the Regex-Coach an invaluable piece of code (I'm using it > almost every days), and wanted to thank you about that. You're welcome... :) > Looking at the CL-PPCRE dictionary[1], I saw that the (?{code}) and > (??{code}) syntaxic forms were (obviously) not handled, but what > about having the php variants (?R), (?1), (?2),... which don't imply > any code pollution at the pattern level? Never heard of them - do you have a link which explains them? (I saw the ASPN link you provided, but the poster seems to assume that one already knows them.) > In the same mood, it would be really nice to handle named capture > with the help of the (?P), (?P=name), and the related > (?P>name) from python/php. Have to check them out and see if I think it'd make sense to add them to CL-PPCRE. But don't hold your breath - I'm pretty busy with other things at the moment. Cheers, Edi. From dominique.faure at gmail.com Thu Nov 9 11:08:55 2006 From: dominique.faure at gmail.com (Dominique Faure) Date: Thu, 9 Nov 2006 12:08:55 +0100 Subject: [regex-coach] Feature request In-Reply-To: References: <599dbcaf0611080111l427868d7reb4f7c19579da9e5@mail.gmail.com> Message-ID: <599dbcaf0611090308s16eb0744w1a6c2e74256d329b@mail.gmail.com> On 11/9/06, Edi Weitz wrote: > Hi! > > On Wed, 8 Nov 2006 10:11:01 +0100, "Dominique Faure" wrote: > > > I found the Regex-Coach an invaluable piece of code (I'm using it > > almost every days), and wanted to thank you about that. > > You're welcome... :) > > > Looking at the CL-PPCRE dictionary[1], I saw that the (?{code}) and > > (??{code}) syntaxic forms were (obviously) not handled, but what > > about having the php variants (?R), (?1), (?2),... which don't imply > > any code pollution at the pattern level? > > Never heard of them - do you have a link which explains them? (I saw > the ASPN link you provided, but the poster seems to assume that one > already knows them.) > > > In the same mood, it would be really nice to handle named capture > > with the help of the (?P), (?P=name), and the related > > (?P>name) from python/php. > > Have to check them out and see if I think it'd make sense to add them > to CL-PPCRE. All this stuff is initially PCRE (http://www.pcre.org/) specific features. The related man page has some nice explanation of them. But as both they are already used in popular scripting languages and some of them are slowly leaking to Perl itself... Here's a nice sample about this: http://www.php.net/manual/en/function.preg-match.php#62221 > But don't hold your breath - I'm pretty busy with other things at the > moment. All these are only enhancement suggestions that could be applied to your excellent tool. I can live without them, it's only very uncomfortable :) Regards, Dom From edi at agharta.de Fri Nov 24 13:38:21 2006 From: edi at agharta.de (Edi Weitz) Date: Fri, 24 Nov 2006 14:38:21 +0100 Subject: [regex-coach] Re: Windows Defender and Regex Coach? In-Reply-To: <9B75463A-64F4-4B63-A239-BA95CA9DFB8B@hawkgrove.co.uk> (Neville Southworth's message of "Fri, 24 Nov 2006 10:10:56 +0000") References: <9B75463A-64F4-4B63-A239-BA95CA9DFB8B@hawkgrove.co.uk> Message-ID: On Fri, 24 Nov 2006 10:10:56 +0000, "Neville Southworth" wrote: > Windows Defender today believes The Regex Coach may be spyware? Please use the mailing list to report bugs and problems. The Regex Coach does not contain spyware or adware. If "Windows Defender" (whatever that is) reports spyware, you should ask the vendor why they report that. See also here: http://www.snapfiles.com/get/regexcoach.html http://www.pcreview.co.uk/forums/thread-1689730.php Cheers, Edi. From stevenba at carr.org Sat Nov 25 05:52:51 2006 From: stevenba at carr.org (carr.org) Date: Sat, 25 Nov 2006 00:52:51 -0500 Subject: [regex-coach] does regex coach support lookahead and lookbehind? Message-ID: <000e01c71055$f20e8190$70964305@Gatewayathlon> Does regex coach support lookahead? lookbehind? If so, can someone please send a sample? I have tried something like: my test(?<=something) but it just takes (?<= as a normal regex rather than as a boost type lookbehind. Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From eschmenk at bellsouth.net Sat Nov 25 07:41:40 2006 From: eschmenk at bellsouth.net (Eric Schmenk) Date: Sat, 25 Nov 2006 02:41:40 -0500 Subject: [regex-coach] Re: Windows Defender and Regex Coach? In-Reply-To: Message-ID: The vendor is Microsoft. Windows Defender is Microsoft's anti-spyware program. It is a component of Windows Vista and is available (and was heavily promoted by Microsoft) for Windows XP. I got the impression you were thinking the vendor was a tiny company with little influence. I don't think that's quite accurate. I think you (Edi Weitz) would have more leverage with Microsoft than any of the users. (See my original message for what the users can do.) Also, keep in mind that sometimes unscrupulous companies hack good software and put trojans in it. Just because you didn't put adware in it doesn't necessarily mean there aren't bad versions out there, unfortunately. Or maybe Microsoft is just confused - it certainly wouldn't be the first time. I tried to post information about Windows Defender flagging The Regex Coach on the regex-coach mailing list a couple of days ago. It didn't appear. (I used an email alias that probably confused the mailing list.) In any case, here again is my original email to the list (from here to the start of Edi's message): In a scan today [Thursday], Microsoft's Windows Defender (Beta 2) identified The Regex Coach as WinSoftware.WinAntiSpyware. The information Windows Defender gave me is just below: Start Quote --> Category: Potentially Unwanted Software Description: This program has potentially unwanted behavior. Advice: Review the alert details to see why the software was detected. If you do not like how the software operates or if you do not recognize and trust the publisher, consider blocking or removing the software. Resources: regkey: HKLM\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\UNINSTALL\The Regex Coach_is1 uninstall: HKLM\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\UNINSTALL\The Regex Coach_is1 file: D:\Program Files\Accessories\The Regex Coach\unins000.exe View more information about this item online <-- End Quote The last line ("View more ...") is a link to: http://www.microsoft.com/security/encyclopedia/details.aspx?name=WinSoftware .WinAntiSpyware&threatid=17446. I installed The Regex Coach in D:\Program Files\Accessories\The Regex Coach\, which is why the uninstaller is in a non-standard location. I'll let you fight Microsoft over this. You might also want to check out http://www.spywarelist.info/spyware_definitions_view.php?editid=793&editid2= Adw.WinSoftware.WinAntiSpyware. Another link that might help is: http://www.microsoft.com/athome/security/spyware/software/default.mspx. I am supposedly a member of a "voting network" that's supposed to collect statistics about how users chose to react to the "threat". I ignored it, so at least that's one vote for you. Eric -----Original Message----- From: regex-coach-bounces at common-lisp.net [mailto:regex-coach-bounces at common-lisp.net]On Behalf Of Edi Weitz Sent: Friday, November 24, 2006 8:38 AM To: Neville Southworth Cc: regex-coach at common-lisp.net Subject: [regex-coach] Re: Windows Defender and Regex Coach? On Fri, 24 Nov 2006 10:10:56 +0000, "Neville Southworth" wrote: > Windows Defender today believes The Regex Coach may be spyware? Please use the mailing list to report bugs and problems. The Regex Coach does not contain spyware or adware. If "Windows Defender" (whatever that is) reports spyware, you should ask the vendor why they report that. See also here: http://www.snapfiles.com/get/regexcoach.html http://www.pcreview.co.uk/forums/thread-1689730.php Cheers, Edi. _______________________________________________ regex-coach site list regex-coach at common-lisp.net http://common-lisp.net/mailman/listinfo/regex-coach From edi at agharta.de Sat Nov 25 10:31:43 2006 From: edi at agharta.de (Edi Weitz) Date: Sat, 25 Nov 2006 11:31:43 +0100 Subject: [regex-coach] does regex coach support lookahead and lookbehind? In-Reply-To: <000e01c71055$f20e8190$70964305@Gatewayathlon> (carr org's message of "Sat, 25 Nov 2006 00:52:51 -0500") References: <000e01c71055$f20e8190$70964305@Gatewayathlon> Message-ID: On Sat, 25 Nov 2006 00:52:51 -0500, "carr.org" wrote: > Does regex coach support lookahead? lookbehind? Yes. > I have tried something like: my test(?<=something) but it just takes > (?<= as a normal regex rather Please send exactly what you tried - regex and target string. Then we can see if the behaviour of the program is correct. > than as a boost type lookbehind. I don't know what a "boost type lookbehind" is. Cheers, Edi. From edi at agharta.de Sat Nov 25 10:36:27 2006 From: edi at agharta.de (Edi Weitz) Date: Sat, 25 Nov 2006 11:36:27 +0100 Subject: [regex-coach] Re: Windows Defender and Regex Coach? In-Reply-To: (Eric Schmenk's message of "Sat, 25 Nov 2006 02:41:40 -0500") References: Message-ID: On Sat, 25 Nov 2006 02:41:40 -0500, "Eric Schmenk" wrote: > The vendor is Microsoft. Windows Defender is Microsoft's > anti-spyware program. It is a component of Windows Vista and is > available (and was heavily promoted by Microsoft) for Windows XP. I > got the impression you were thinking the vendor was a tiny company > with little influence. I don't think that's quite accurate. > > I think you (Edi Weitz) would have more leverage with Microsoft than > any of the users. Thanks for the info. As you could read on the page I linked to in my previous message, this is very likely due to the "Inno Setup" installer I'm using. I hope enough other people are affected by this to make Microsoft change their behaviour. I don't have the time to contact them now and, honestly, I don't want to. I had two other cases where they chose to simply ignore my messages, and I don't fancy talking to companies like that. Cheers, Edi.