The cfRegex project is two things. Firstly, it is a complete regex implementation
for CFML, providing more functionality, flexibility, features and power than the
existing CFML RE functions. Secondly, it is a drive to encourage people to
properly learn and make use of regex.
Regex is a very flexible language for matching patterns within text, and it has
the power to greatly simplify certain programming tasks. However, it can also be
intimidating to people not experienced with it.
This problem can be compounded by the relatively limited support for regex in
CFML, which often means code is written that is more complex than should be
cfRegex helps to address both these problems. It provides a number of functions
and features that help to reduce the amount of code which programmers have to
write, whilst also helping to make their code clearer and easier to understand.
In addition, the project provides documentation, not just for its own features,
but also for regex itself, helping people to understand exactly what their
expressions are matching, and how to get the most out of regex.
Whilst cfRegex is still at a relatively early stage, it is currently usable, and
if you're a fan of regex it is certainly worth checking out.
It currently runs on CF 9.0.1, OpenBD 2.0, Railo 3.2 and later.
(Support for CF8 and others will be considered if enough people need it.)
The documentation should tell you everything you need to know about using it,
but if not then get it touch and say what's missing so it can be fixed!
If you get stuck, there's a mailing list where you can receive answers to any
problems or questions you have.
It's 1st June 2010 today, and that means we're celebrating for the third time the annual International Regular Expressions Day.
Ben Nadel kicked off this event two years ago, in order to promote the use of Regex, especially amongst those who might consider them something scary and obscure.
As before, Ben is running a contest, this year's prizes being some O'Reily Regex books and IIS Mod-Rewrite Pro licenses.
Entry to the competition requires writing some code, and the deadline is today, so if you're interested then hurry up and
read Ben's blog entry to find out more.
Happy Regex Day!
It's nearly a year on from my last Railo blog post so it is well overdue that I write another - just in case there is anyone still sitting on the fence, unsure if they should use Railo - or indeed, anyone who might be unaware of Railo's very existance!
So to start with, a quick summary of what Railo is:
Find out why Railo is the perfect choice for your next development project.
Version 0.9 of Beehive Forum, probably the greatest forum software there is, has recently been officially released.
Since the previous v0.8.4 there have been a variety of fixes and improvements, particularly to client-side caching and UTF-8.
There is also now support for Google Analytics and for displaying optional Google Adsense adverts. For full information on what has changed, you can check the release notes.
Download Beehive Forum 0.9 from SourceForge
Also, Beehive is currently a Finalist in the SourceForge Community Choice Awards!
If you're a fan of Beehive and haven't yet voted, please vote for Beehive now.
There is a lot of competition, with many thousands of votes already having been cast, so please help spread the word to as many other Beehive users as you can, to help vote for Beehive to win, and gain the recognition it deserves!
Java RegEx Utilities, or jre-utils, is a CFC which provides a convenient way to access Java's regular expression functionality.
Whilst ColdFusion, Railo, and openBD are all built on Java, and CFML does have regular expression functions, they do not actually use the Java regular expression engine, which supports many useful regex constructs.
The purpose of jre-utils is to provide this extra power to CFML developers in a familiar and easy to use way.
I will shortly be releasing v0.7 of jre-utils, which adds a number of new functions, as well as making things more consistent, so I decided I would give this quick preview of what it contains.