Eclipse Helios (3.6) includes an improved version of Eclipse PDT,
labeled 2.2. It is also included in the current Zend Studio (7.1 and
above). Among other enhancements, it dramatically improved the
performance of code lookup-related tasks like searching references,
creating a type hierarchy and even code completion. This is due to a
new design, inspired by nWire, which uses the h2 database engine as a
persistent storage for this data.
The h2 database is a high-performance, low profile, Java native
database engine, created as a successor to the widely used HSQLDB. It
is open source and free to use. nWire uses h2 since its' early days.
Source: http://www.nwiresoftware.com/blogs/nwire/2010/09/five-tips-speeding-eclipse-pdt-and-nwire
In short, it looks like you're seeing these improvements because Eclipse utilizes the h2 database engine.
Then, if you dig a little deeper, here's a quick sampling if the H2 source code; it does indeed look like they're leveraging java.util.regex
:
20 import java.util.regex.Matcher;
21 import java.util.regex.Pattern;