Simplify regexp test call when the regexp starts and ends with '.*'.
authorsandholm@chromium.org <sandholm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 4 Jun 2010 11:58:40 +0000 (11:58 +0000)
committersandholm@chromium.org <sandholm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 4 Jun 2010 11:58:40 +0000 (11:58 +0000)
commit52f52ae99fe54b35df7e17a7243f996315583ed4
tree4f8ebabba2d734d90fb5d3b47998b46aa8cc7df1
parent8a4d49b65aac1405d01ef09dc3844a7241a9c5d4
Simplify regexp test call when the regexp starts and ends with '.*'.
Review URL: http://codereview.chromium.org/2645002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4799 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/regexp.js