2011/2/6 SF Markus Elfring <[email protected]>: >> The main change is to introduce the possibility to use disjunctions on >> identifiers, >> such as function names, structure field names, local variable names, etc. > > Thanks for this extension/completion of your semantic patch language. > > I am curious if more features from current technology in regular expressions > like you added the choice operator (alternation) will be integrated into your > software tool. > http://en.wikipedia.org/wiki/Regular_expression#POSIX_Extended_Regular_Expressions
What would be the practical purpose of such addition? Do you have any example (forseen SmPL file + C source file) ? My opinion is that there is no need to include any feature no-one has a forseen usage/test case. Asking for "as much as it can be done" is usually asking for trouble. Note that I may not be the only one to think so: http://en.wikipedia.org/wiki/KISS_principle -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
