regexab

Benchmark created by regex fast on


Test runner

Ready to run.

Testing in
TestOps/sec
test a
var rgbRgExp = /rgb\(([0-9]+), ([0-9]+), ([0-9]+)\)/;
var test = "rgb(85, 204, 238) none repeat scroll 0% 0% / auto padding-box border-box";

test.match(rgbRgExp);
ready
test b
var rgbRgExp = /rgb\(([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5]), ([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5]), ([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\)/;
var test = "rgb(85, 204, 238) none repeat scroll 0% 0% / auto padding-box border-box";

test.match(rgbRgExp);
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.

  • Revision 1: published by regex fast on