By upgrading to Java 7 you'll get support for new regex syntax (named capturing groups, named backreferences, (?U), and \x{h...h}), new replacement text syntax (named backreferences), and the new flag U (UNICODE_CHARACTER_CLASS, separate from lowercase u for UNICODE_CASE).