dci @ 01.08.07 00:47:09
Contrary to the ideology in all directions. How many people are familiar with regular expressions? How many megabytes weighs pcre? :-)
What about the second argument is clear, I sobsno something like that thought.
And as for the first ... you can not make it compulsory, moreover, to make the most Obscure, type only in the register ... and leave the existing strategy as a fallback if the term is not defined.
I just keep it to anything. A lot of answers that need to parse most likely open. And if so, sooner or later you come across a situation unfamiliar to hardkodirovannogo parser. To this poser to solve, you need to either implement artificial intelligence (self-learning, neural networks, all the cases), or give the grammar at the mercy of the user. In my opinion, the simplest solution is for the second regular expression.
In short, it's thinking out loud, IMHO, etc, with all the disclaimer :)