Fixed a bug with the XiRegex constructor.