What, you ask, would be the difference between these two regular expressions? What is it that makes a good regular expression and a bad one? Well, sit close, and I shall reveal the mechanisms that power these incredible tools. A regular expression that is naively thrown together is like a drunkard who trips and stumbles over text, clumsily managing to roll the bowling ball down the lane, maybe hitting a pin or two. They are crafted with careful deliberation into powerful forces that level text like a perfectly thrown bowling ball, knocking over all 10 pins with an instant and dazzling smash. Yet, do we always wield them deftly? Regular expressions are a delicate and precise language. Regular expressions are incantations that we developers wield mightily when the time calls. A Story about How Just a Few Characters Can Make Such a Big Difference in Performance
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |