Comments in Regular Expressions

Now this is something that would be really valuable when trying to make code readable. Granted, once you understand regular expressions, you probably don't need them - but still I'm glad Claudio was able to explain that @"^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,10}\s$ isn't just a new swear word.

Claudio Lassala in Software Development: Can you please put some comment on that Regular Expression?!

Comments

Popular Posts