3 ms·
On mobile so can't (easily) test it, but doesn't this produce a false negative for `246.{snip}`, for example?
by reificator 9y ago
On mobile so can't (easily) test it, but doesn't this produce a false negative for `246.{snip}`, for example?
- grok2 9y agoYes, you are right...the following better? https://regexper.com/#((%5B0-9%5D%5C.)%7C(%5B1-9%5D%5B0-9%5D%5C.)%7C(1%5B0-9%5D%5B0-9%5D%5C.)%7C(2%5B0-4%5D%5B0-9%5D%5C.)%7C(25%5B0-5%5D%5C.))%7B3%7D((%5B0-9%5D)%7C(%5B1-9%5D%5B0-9%5D)%7C(1%5B0-9%5D%5B0-9%5D)%7C(2%5B0-4%5D%5B0-9%5D)%7C(25%5B0-5%5D))(%24) https://regexper.com/#((%5B0-9%5D%5C.)%7C(%5B1-9%5D%5B0-9%5D...