Most of the core code has been rewritten to use java.util.regex instead of gnu.regexp, so be sure to keep that in mind as you are composing your own regular expressions, whether they are in mode files, search expressions, or in your own plugins.
java.util.regex
gnu.regexp