12 ms·
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
by jobigoud 6y 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.