Hacker News new | ask | show | jobs
by mkl 1435 days ago
Two of your three examples are incorrect as they're missing backslashes. /^nw*g$/i should be /^n\w*g$/i and (?=.*d) should be (?=.*\d).