Exotic Ideas..
Angad's Blog
About this blog
I am Angad Singh, the Sun Campus Ambassador of JIIT University, Noida (India) and this is my sun blog. Here I jot down all my random scribblings, reports on all activities I conduct as CA at my university, my little projects, hacks, geeky stuff and new technology I come across, all the way to things I learn in my exciting journey as a CA..
About Me
View Angad Singh's profile on LinkedIn
Technorati Authority
View blog authority
Subscribe
Search

10 Recent Entries
Archives
« July 2008
SunMonTueWedThuFriSat
  
1
2
3
5
6
7
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today
Links
My..
Blogs that interest me
 

Today's Page Hits: 453

Best Viewed in..

Mozilla Firefox

Locations of visitors to this page

What am I doing..

TwitterCounter for @angadsingh
JIIT Sun Club

Download Java

Download Netbeans

Download Solaris

GlassFish Download

Download Netbeans 6.1!

Download OpenSolaris 2008.05!

Enter your email address:

Delivered by FeedBurner

Googlebot Status

« Campus Ambassador... | Main | My plugin's screenca... »
Sunday Feb 10, 2008
My Contribution to the Code for Freedom Contest

Today, I have successfully made my first contribution to a Sun Open Source Community, specifically, Netbeans!, and my first submission to Sun Microsystem's Code For Freedom Contest.

My contribution is an an easy to use all-in-one regular expressions plugin (builder, tester, organizer) for the Netbeans IDE.

Flashback

I had initially sought to develop this tool as there weren't such a feature in  Netbeans. I had checked out the Netbeans Plugins portal  and Netbeans contrib project and found out  two plugins which dealt with regular expressions  but supported only some aspects of what I had in mind. A much more powerful tool could be developed. I  had discussed the idea on the nbdev@netbeans.org mailing list and received enthusiastic response for the development of such a plugin and suggestions for features it should have. Thus, I started off with this plugin and tried to incorporate as many of the features they suggested as possible.

A little background on Regular Expressions

Regular expressions are a way to describe a set of strings based on common characteristics shared by each string in the set. They can be used to search, edit, or manipulate text and data. You must learn a specific syntax to create regular expressions — one that goes beyond the normal syntax of the Java programming language. Regular expressions vary in complexity, but once you understand the basics of how they're constructed, you'll be able to decipher (or create) any regular expression.

There is a lesson available on Sun's website which explains how to use the java.util.regex API for pattern matching with regular expressions. This lesson starts with the basics, and gradually builds to cover more advanced techniques.

There's a good tutorial on learning regular expressions available here.

My Plugin: Regular Expressions Plugin (RegExPlugin 0.1)

What is it?
A simple and easy to use all-in-one solution which helps a developer in all aspects of working with regular expressions - Learning, Building, Testing and Organizing.

What all does it do?

Download: At Netbeans Plugin Portal

Usage: To open the regular expressions plugin window, go to Tools > Regular Expressions Plugin.

Demo Video: I've made a small video showcasing the features of the plugin by showing how to build and test a regular expression for checking email addresses:

Do check out the plugin and point out any bugs / suggestions / any valuable input you can give for it's improvement.

Posted at 04:31PM Feb 10, 2008 by Angad Singh in Personal  |  Comments[0]  |  del.icio.us digg slashdot technorati Stumble It! Share on Facebook furl reddit    

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
Creative Commons License

This work by Angad Singh is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.