Added back-end RegExp checking.