Fixed Xregex dependency for plugins.