| ▲ | chr15m 3 hours ago |
| If a regex runs too long just kill it and show the user an error. |
|
| ▲ | maleldil 2 hours ago | parent [-] |
| How often have you encountered code that adds a timeout to regex matching? |
| |
| ▲ | chr15m 2 hours ago | parent [-] | | Good point. The number of times is zero. Probably something that should be implemented defensively at the library level. I guess most developers don't realise this can happen (I did not). | | |
| ▲ | inigyou an hour ago | parent [-] | | No you don't actually want a regex library that randomly fails when someone runs one of Chris Domas's pathological stall instructions on a different core. |
|
|