>> How do you think about to filter any text by regular expressions >> for semantic patch language constraints? > > Not supported.
This software limitation and current development status has got consequences as usual. * It would be nice if comment contents could be directly restricted also by the means of SmPL constraints. I am unsure about the chances for extensions in this area. * The supported languages “OCaml” and “Python” offer known programming interfaces for the work with regular expressions. The evaluation of these regexes can trigger useful data processing. But I am looking for ways now to set the match result for SmPL script rules. How are the chances to extend Coccinelle's software library for this purpose? Regards, Markus _______________________________________________ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci