
Tweak the token search again, this time changing the regexp to be
greedy rather than lazy, and iterate in order to ensure we get
the leftmost match for the token. This works around lazy
matches being really really slow on long strings (as checked by
testPathologicalInput), which causes closure js tests to time out.

R=gboyer
DELTA=4  (0 added, 1 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=3949


git-svn-id: 35241bd708fe29f1f6c7a4322d322e99ff93b95e@1469 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

thinkfuse/google-closure,knutwalker/google-closure-library,KgDesignes/closure-library,KgDesignes/closure-library,knutwalker/google-closure-library,thinkfuse/google-closure,KgDesignes/closure-library,thinkfuse/google-closure