6 ms·
Yeah debuggex's output looks slightly better, on top of having a lot more options. Regulex however is open-source with nicely written javascript: https://github
by kremi 12y ago
Yeah debuggex's output looks slightly better, on top of having a lot more options. Regulex however is open-source with nicely written javascript: https://github.com/JexCheng/regulex https://github.com/JexCheng/regulex
Here's a side by side comparison with the regexp I wrote to parse URLs [0]
Debuggex: https://www.debuggex.com/r/yPBRv77Rxl0Ji3Pi https://www.debuggex.com/r/yPBRv77Rxl0Ji3Pi
Regulex: http://jex.im/regulex/#!embed=true&re=^%28https%3F\%3A%29\%2F\%2F%28%28[^%3A\%2F%3F%23]*%29%28%3F%3A\%3A%28[0-9]%2B%29%29%3F%29%28\%2F[^%3F%23]*%29%28\%3F[^%23]*|%29%28%23.*|%29%24 http://jex.im/regulex/#!embed=true&re=^%28https%3F\%3A%29\%2...
[0] http://stackoverflow.com/a/21553982/542156 http://stackoverflow.com/a/21553982/542156
- deleted 12y ago[deleted]
- Alphasite_ 12y agoOn the whole yes, but the minor tweak of expanding shirt hand into a full statement really makes it easier to follow.