Hacker News new | ask | show | jobs
by jobigoud 2056 days ago
It's more like someone is asking you to create a regex that matches phone numbers and they give you an example number for you to work with. You have the bright idea of writing the example number verbatim as your regex and voilĂ . It matches the sample perfectly, job done. In reality that regex can't be applied to anything else.