davidmarkclements / 0x

🔥 single-command flamegraph profiling 🔥
MIT License
3.23k stars 106 forks source link

fix regex bug of optional 0x prefix #230

Closed gabylb closed 4 years ago

gabylb commented 4 years ago

The bug prevented a file match on a system in which %p or std::ostream&<< doesn't prefix the address with 0x, as on z/OS.

Note the updated regex now also matches the 0x part in index.js visualize().