On Feb 1, 9:49 am, "Edward K. Ream" <[email protected]> wrote:

> But an experiment seems to show that \s also matches the end of a
> string.  For example, get_directives_dict *does* recognize a directive
> at the very end of a body text (or, presumably, a headline), even with
> the \s appended to the regex.
>
> In fact, this is what I want, but is it valid to rely on this apparent
> fact?  Leo's operation depends on it.
>
> Does anyone know for sure?

It doesn't matter now.  I've changed the regex back to what it was
before.  The test is now made after the match is made.  These false
matches do not matter at all.  The speedup provided by the regex will
exists just the same.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to