angular/angular.js — pull request #3474 by AndyHitchman (2013-08-06 01:37:55+00:00)
Title: fix(angular.copy): change angular.copy to correcly clone RegExp

angular.copy previously copied RegExp as an empty object. Change detects
RegExp instance and clones into new RegExp. This change is based on a previous
fix to allow Date to be copied.

Closes #3473