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 Closes #3474
A
Andy Hitchman committed
f80730f497cb1ecb78a814f01df79b69223ad633
Parent: 43997c1
Committed by Igor Minar <igor@angularjs.org>
on 8/9/2013, 6:29:59 AM