RE: [contentbox-version] Code that worked in ColdFusion 10 prior to Java 7

Sorry I’ve got nothing. I’m not real good at regex, let alone Java regex. You provided some code, but can you make a working snippet in a cfm file that anyone can run and see the specific differences in what’s output? I’ll be honest, after reading your first post again I’m not 100% what the specific issue is.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

I solved it…

The issue is that Java 7 know uses named groups, and that means that we know need to javacast the group() so the following line now becomes

var brush = matcher.group(JavaCast(‘int’,5));

I should have been a wake to that earlier.

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411