Hacker News new | past | comments | ask | show | jobs | submit login

My guess is that 147 must appear the same number of times as 258, but I'm not sure if that's even expressible in regexp.



Refined: [0369] can appear any number of times [147] and [258] must appear an equal number of times, or for any remaining: [147] must appear a multiple of 3 times [258] must appear a multiple of 3 times


No. 111 is a multiple of 3.


Sadly that wouldn't work for: 140091876 147 = 4 times 258 = 1 time




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: