|
![](/i/fill.gif) |
>> In short, people tend to use regexs for quick and dirty hacks that kinda
>> work, rather than doing the job properly with a full parser. And I'm
>> really not fond of hacks.
>
> Writing a parser, even with the aid of a specialized description language
> such as BNF, is very laborious. Simple string matching can be often
> expressed
> with very short regular expressions which you can write in a few seconds.
> Writing a parser would be complete overkill.
I think he meant using a parser library, not writing one from scratch.
Indeed writing a parser (or a regex library) would be a total overkill for
pretty much any project.
Post a reply to this message
|
![](/i/fill.gif) |