added definitions for XRegExp
Merge pull request #1963 from Bartvds/def/xregexp

added definitions for XRegExp