> > i.e. the name I want to use for the node, `goTo`, is on the *second* >> line. Just glanced and the code and see only the first line of the >> selection is passed to the pattern matching.... >> >> Looks like (?ms) in a regex will put re into multi-line dot matches all >> mode, I guess just (?m) would be sufficient, so I *think* passing the >> whole selection to extractDef() and letting people set (?m) in their >> patterns would be sufficient and more importantly backwards compatible? >> >> I am sorry, I haven't read your whole message (it sims like I am also in mode of taking only first line in account :-) )
Yes, you are right. I was trying to change as little as possible, but I'd love if extractDef would allow multi-line regex patterns. Vitalije -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
