There is no way to detect that. See https://en.wikipedia.org/wiki/Halting_problem
On Tue, Jun 28, 2016 at 9:01 AM 杨江华 <[email protected]> wrote: > see detail : https://bugs.chromium.org/p/v8/issues/detail?id=1770 > and > http://stackoverflow.com/questions/2407870/javascript-regex-hangs-using-v8 > > 在 2016年6月28日星期二 UTC+8下午2:56:14,Yang Guo写道: >> >> There are no endless loops in regexp. >> >> On Tue, Jun 28, 2016 at 8:53 AM 杨江华 <[email protected]> wrote: >> > how to detect regexp endless loop in v8 ? >>> >>> -- >>> -- >>> v8-dev mailing list >>> >> [email protected] >> >> >>> http://groups.google.com/group/v8-dev >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "v8-dev" group. >>> >> To unsubscribe from this group and stop receiving emails from it, send an >>> email to [email protected]. >> >> >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > -- > v8-dev mailing list > [email protected] > http://groups.google.com/group/v8-dev > --- > You received this message because you are subscribed to the Google Groups > "v8-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
