From paul.kilima at gmail.com Tue Mar 6 23:37:29 2007 From: paul.kilima at gmail.com (Paul Kilima) Date: Wed, 7 Mar 2007 00:37:29 +0100 Subject: [regex-coach] Lauching TRC with a regexp as argument? Message-ID: <5cf476460703061537n1d425896t8c6799117a056643@mail.gmail.com> Hello, I'm looking for a way to run The Regex Coach from an editor and to "feed" it with a regexp the user would select. I know how to read the selection in the editor, however I found no way to run TRC with the regexp as argument... Is this actually possible (using an obscure command-line option...) ? Thanks! From edi at agharta.de Tue Mar 6 23:42:00 2007 From: edi at agharta.de (Edi Weitz) Date: Wed, 07 Mar 2007 00:42:00 +0100 Subject: [regex-coach] Lauching TRC with a regexp as argument? In-Reply-To: <5cf476460703061537n1d425896t8c6799117a056643@mail.gmail.com> (Paul Kilima's message of "Wed, 7 Mar 2007 00:37:29 +0100") References: <5cf476460703061537n1d425896t8c6799117a056643@mail.gmail.com> Message-ID: On Wed, 7 Mar 2007 00:37:29 +0100, "Paul Kilima" wrote: > I'm looking for a way to run The Regex Coach from an editor and to > "feed" it with a regexp the user would select. > > I know how to read the selection in the editor, however I found no > way to run TRC with the regexp as argument... Is this actually > possible (using an obscure command-line option...) ? Nope, sorry, it isn't. From jp at jpsdomain.org Wed Mar 7 01:26:52 2007 From: jp at jpsdomain.org (JP Vossen) Date: Tue, 06 Mar 2007 20:26:52 -0500 Subject: [regex-coach] Lauching TRC with a regexp as argument? In-Reply-To: References: <5cf476460703061537n1d425896t8c6799117a056643@mail.gmail.com> Message-ID: <45EE14DC.9020100@jpsdomain.org> Edi Weitz wrote: > On Wed, 7 Mar 2007 00:37:29 +0100, "Paul Kilima" wrote: > >> I'm looking for a way to run The Regex Coach from an editor and to >> "feed" it with a regexp the user would select. >> >> I know how to read the selection in the editor, however I found no >> way to run TRC with the regexp as argument... Is this actually >> possible (using an obscure command-line option...) ? > > Nope, sorry, it isn't. You could probably "push" the expression into the registry using one of the many tools (Perl, Resource Kit, WSH, other) that can do that. Presumably on non-Windows you'd just edit the config file, but the location of that file eluded me when I just went looking for it. Either way, not as easy as an argument, but possible. For Windows see HKEY_CURRENT_USER\Software\Edi Weitz\The Regex Coach\Panes. Later, JP ----------------------------|:::======|------------------------------- JP Vossen, CISSP |:::======| jp{at}jpsdomain{dot}org My Account, My Opinions |=========| http://www.jpsdomain.org/ ----------------------------|=========|------------------------------- Microsoft has single-handedly nullified Moore's Law. Innate design flaws of Windows make a personal firewall, anti-virus and anti-malware software mandatory. The resulting software arms race has effectively flattened Moore's Law on hardware running Windows.