ANN: RegexPlugin 0.5.0 released

I've just uploaded a new version of the regexPlugin.

Features:

This plugin allows you to test out regular expressions in a dynamic
environment and see what they match as well as seeing what groups match
what subsections of the matched text. You can also test out the regex
replacement strings and see immediately what the results would be.

The expression editor supports syntax highlighting as well as brace and
bracket matching to simplify editing.

Pattern compilation errors as shown immediately, making it that much
easier to get them correct before putting them into your code.

Other features include the ability to take a java String (off the
clipboard) and extract the regular expression embedded in it, correctly
dealing with all of the double escapes that are required. Likewise you
can copy your expression to the clipboard as a java String, again
dealing with escapes.

The regular expression engine used here is the java.util.regex library
from the 1.4 jdk.

Changes since the last upload:

There is now a library feature, you can name and save your regular
expressions for later reference, as a side effect this also means that
your expressions are persisted across invocations of Idea. You can
export and import your library to move it between machines or share it
with others.

You can now run the plugin as a stand alone Java application, just do:

java -jar regexPlugin.jar

and the plugin starts up as a separate application.

The stand alone app shares the same library as the plugin version.

I've also fixed a small number of bugs to do with the syntax highlighter
mis-hilighting embedded comments. As well as an error when extracting
certain expressions from java Strings.

I'll try to get the plugin home page updated with some more up to date
help later today.

Guy

8 comments

On Mon, 02 Feb 2004 13:53:45 -0800, Guy Gascoigne-Piggford wrote:

You can now run the plugin as a stand alone Java application, just do:
java -jar regexPlugin.jar
and the plugin starts up as a separate application.


Now thats a nice feature that'll surely make some non-IDEA using people
happy.

Mark

0


Mark Derricutt wrote:

On Mon, 02 Feb 2004 13:53:45 -0800, Guy Gascoigne-Piggford wrote:

>>You can now run the plugin as a stand alone Java application, just do:
>> java -jar regexPlugin.jar
>>and the plugin starts up as a separate application.


Now thats a nice feature that'll surely make some non-IDEA using people
happy.


Not that I want to encourage any java developer to use something other
than IDEA.

Basically I did it so that some of our support folks had a tool that let
them explore regexs without having to deal with a full dev environment.

Guy

0

On Mon, 02 Feb 2004 14:11:28 -0800, Guy Gascoigne-Piggford wrote:

Not that I want to encourage any java developer to use something other
than IDEA.


Yeh, we have a few PERL people here, which it could be handy for. Also,
for some reason two of our devs use Netbeans/Eclipse..... sigh


0

There also appears to be a NPE when opening a enw project that I need to
fix :( There'll be a fix and an announcement rsn I hope.


Mark Derricutt wrote:

On Mon, 02 Feb 2004 14:11:28 -0800, Guy Gascoigne-Piggford wrote:

>>Not that I want to encourage any java developer to use something other
>>than IDEA.


Yeh, we have a few PERL people here, which it could be handy for. Also,
for some reason two of our devs use Netbeans/Eclipse..... sigh

0

Version 0.5.1 is now available. There was a NullPointerException when
creating a new project - sorry about that, I guess that I stick to the
same projects far too much.

The plugins repository and
http://www.intellij.org/twiki/bin/view/Main/RegexPlugin have both been
updated with the new version.

Guy

Guy Gascoigne-Piggford wrote:

There also appears to be a NPE when opening a enw project that I need to
fix :( There'll be a fix and an announcement rsn I hope.


Mark Derricutt wrote:

>> On Mon, 02 Feb 2004 14:11:28 -0800, Guy Gascoigne-Piggford wrote:
>>
>>
>>> Not that I want to encourage any java developer to use something other
>>> than IDEA.
>>
>>
>>
>> Yeh, we have a few PERL people here, which it could be handy for. Also,
>> for some reason two of our devs use Netbeans/Eclipse..... sigh
>>
>>

0

For those not watching the thread about the plugin list not downloading,
there is now a 0.5.3 version of the RegexPlugin that no longer kills the
plugin list.

This really should be the last upload, honest.

Guy

Guy Gascoigne-Piggford wrote:

Version 0.5.1 is now available. There was a NullPointerException when
creating a new project - sorry about that, I guess that I stick to the
same projects far too much.

The plugins repository and
http://www.intellij.org/twiki/bin/view/Main/RegexPlugin have both been
updated with the new version.

Guy

Guy Gascoigne-Piggford wrote:

>> There also appears to be a NPE when opening a enw project that I need
>> to fix :( There'll be a fix and an announcement rsn I hope.
>>
>>
>> Mark Derricutt wrote:
>>
>>> On Mon, 02 Feb 2004 14:11:28 -0800, Guy Gascoigne-Piggford wrote:
>>>
>>>
>>>> Not that I want to encourage any java developer to use something other
>>>> than IDEA.
>>>
>>>
>>>
>>>
>>> Yeh, we have a few PERL people here, which it could be handy for. Also,
>>> for some reason two of our devs use Netbeans/Eclipse..... sigh
>>>
>>>

0

On Mon, 02 Feb 2004 15:27:17 -0800, Guy Gascoigne-Piggford wrote:

For those not watching the thread about the plugin list not downloading,
there is now a 0.5.3 version of the RegexPlugin that no longer kills the
plugin list.


What actually was the problem?

0

I tried to put two names in the vendor string in the
idea-plugin-registry.xml and then separated them with an ampersand. I'd
even remembered to encode it correctly using &, the same trick in
the plugin.xml worked and so I assumed that I could do it in both.
Apparently not, even though it worked on the web page, when IDEA tried
to load the plugin list it barfed and through an exception.

I had to change the version number just so I could upload it again.

Guy

Mark Derricutt wrote:

On Mon, 02 Feb 2004 15:27:17 -0800, Guy Gascoigne-Piggford wrote:

>>For those not watching the thread about the plugin list not downloading,
>>there is now a 0.5.3 version of the RegexPlugin that no longer kills the
>>plugin list.


What actually was the problem?

0

Please sign in to leave a comment.