3 ms·The regexp might be longer to write, but I doubt it would perform worse, once compiled.by troels 14y agoThe regexp might be longer to write, but I doubt it would perform worse, once compiled.