• Christian Hergert's avatar
    gtksourceregex: wrap GRegex through a shim · 1c6e2ce1
    Christian Hergert authored
    This creates an ImplRegex intermediate structure that we can use to switch
    the implementation from GRegex into PCRE2. Doing so will not only be
    faster, but also allow us to eventually migrate to using a JIT for the
    regex implementation as well as avoid deprecations from GRegex in future
    releases of GLib.
    
    Other modules will eventually need to be ported to this, but focusing on
    GtkSourceRegex would result in the largest gain from language specs.
    1c6e2ce1
implregex.c 6.93 KB