Class JakartaRegexpCapabilities

Implementation tying Jakarta
Regexp to RegexQuery. Jakarta Regepx internally supports a
prefix() implementation which can offer performance gains under
certain circumstances. Yet, the implementation appears to be rather shaky as
it doesn't always provide a prefix even if one would exist.