Skip to content

Comment on \d less efficient than [0-9]parent

Comments

Given that the category is specifically "decimal digit", I think it's good, so long as the number parsing code accepts them all too.

Yes. Assuming that, it's good. I think that assumption is likely to be invalid in many cases, though.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.