| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Maybe the original intent was to handle integer values? I don't know if that's necessary, please disregard if we know that doesn't happen.
| const rex = /(\d+\.\d+) req\/s/; | |
| const rex = /(\d+(?:\.\d+)?) req\/s/; |
Sorry, something went wrong.
There was a problem hiding this comment.
I think it shouldn't work with integers. The h2load output is something like "finished in 233.18s, 0.43 req/s, 105B/s" his docs
Sorry, something went wrong.
A non-capturing group inside a capturing group has no effect. Simplify the regular expression. PR-URL: nodejs#38206 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
A non-capturing group inside a capturing group has no effect. Simplify the regular expression. PR-URL: #38206 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
A non-capturing group inside a capturing group has no effect. Simplify the regular expression. PR-URL: #38206 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
| Back | FazBrowse Home | New Git URL |
A non-capturing group inside a capturing group has no effect. Simplify
the regular expression.