On Mon, Feb 7, 2011 at 13:50, SF Markus Elfring <[email protected]> wrote:
> I would like to know when filter patterns can be distributed over multiple > lines. > - SmPL: OR / disjunction > - Objective Caml with module "Str" > > Is there a need to switch between single-/multi-line modes? > http://www.regular-expressions.info/modifiers.html No. Luckily there is not a reason to do this in the case of disjunctive identifiers. > Are there any special cases to consider for the handling of newline/line > break characters? > How do you think about the processing for line continuations? No again. Sometimes the grammar just smiles back at you and is happy. This is one of those moments. Your wording leads me to think that perhaps you are confusing the idea of regular expressions with the idea of disjunction in this case. They are alike (squint your eyes the right way and they are) - but they are not equal and so what applies to regular expressions usually do not apply the disjunctive identifiers om SmPL. -- J. _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
