Using regular expressions versus string operations
I have been working on a new project that will allow me to connect to an IRC server using a pure PHP library. To get some peer reviews, I showed the project to some friends and got the commentary that I shouldn’t use regex to parse the messages because regexes are really slow! I am aware that regexes can indeed...