lundi 31 octobre 2016

A-Za-z vs. /i case insensitive

What is considered best practice, and what is the fastest to compute?

[A-Za-z]

vs.

[a-z]/i

Assuming that you don't care about the rest of the regex's case.




Aucun commentaire:

Enregistrer un commentaire