Is it really necessary to use libpcre2 if glib provides regexp API?
https://docs.gtk.org/glib/struct.Regex.html