(re)
| 162 | // character in it can never match an Latin1 string we can test that the |
| 163 | // relevant node is removed by verifying that there is no hang. |
| 164 | function NoHang(re) { |
| 165 | "This is an ASCII string that could take forever".match(re); |
| 166 | } |
| 167 | |
| 168 | NoHang(/(((.*)*)*x)Ā/); // Continuation after loop is filtered, so is loop. |
| 169 | NoHang(/(((.*)*)*Ā)foo/); // Body of loop filtered. |
no test coverage detected