On Sat, Jul 22, 2017 at 12:39 PM, vitalije <[email protected]> wrote:

I have read somewhere that there are some patterns that give very poor
> performance
>

​Lookahead and lookbehind assertions are likely the culprit. Regex would be
broken if it had performance problems for the kinds of regex patterns that
you and I write.

Oh, one more thing.  The pattern for @others probably should end with \b.
Maybe ditto for other keywords.

However, I have realized now, that it is much cleaner to yield whole lines.
>
New Write code includes this.
>

​Good.  That seems the more natural style.

Edward

-- 
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.

Reply via email to