The Java issue itself says "While this is really not a bug of the regex engine, it might be nice to have some optimization in engine to detect this kind of backtracking and eliminate the match at early stage.".
We are not planning to implement any optimization in this area in the near to medium-term future. On Tue, Jun 28, 2016 at 11:27 AM 杨江华 <[email protected]> wrote: > java has resolved , see https://bugs.openjdk.java.net/browse/JDK-7006761 > > 在 2016年6月28日星期二 UTC+8下午3:37:12,Yang Guo写道: >> >> 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. > -- -- 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.
