added definitions for XRegExp

like normal RegExp, but more powerful