Merge pull request #343 from herby/fix-regexp

RegularExpression class was not wrapped to JS RegExp.