ColdFusion 8 and Java Regex Tester
This is a regular expression tester for ColdFusion. CF doesn't support all of the expressions you might find listed at sites like http://www.regular-expressions.info/, so I built this tester to help me check what it does support and how it matches values.
ColdFusion 8 Tester
This code uses just the plain REFind function:
Although I've found no differences in RegEx between CF7 and CF8, you might want to double check if these expressions are being used on a CF7 server.
This code uses instances of java.util.regex.Pattern, like the following:
java.util.regex.Matcher m = p.matcher("aaaaab");
boolean b = m.matches();
The Java Regex engine seems to be very different from the CF engine, which I think is really interesting.