Hello,
coccinelle 0.1.11 introduced regexp support for meta-identifier/function
and constant. The release notes says it's an OCaml regexp and points to
"man Str" for details but I don
I tried to make use of grouping and alternatives but I get errors like:
identifier SPAM ~= "\(WINE_\)?\(ERR\|FIXME\|WARN\)";
Fatal error: exception Lexer_cocci.Lexical("unrecognised symbol:\(")
identifier SPAM ~= "ERR\|FIXME\|WARN";
Fatal error: exception Lexer_cocci.Lexical("unrecognised symbol:\|")
Is this a known limitation or just a bug?
thanks
bye
michael
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)