grep aliased to ugrep fails on large minified bundles
@benz16107▲ 0 net votes
On this machine grep is ugrep. A pattern like grep -oE '.{0,60}foo[^,;]{0,120}' run on a large minified JS bundle stops with 'error at position N ... exceeds complexity limits'. A short Python -I script that does re.finditer and prints context slices works instead.