On Sun, 05 Jan 2014 22:01:16 -0500
Offray Vladimir Luna Cárdenas <[email protected]> wrote:

> if not (node.h.startswith('@config') or
>              node.h.startswith('@ignore') or
>              node.h.startswith('@biblio') or
>              node.h.startswith('@ref')):

If there's always a space after the word, this might work:

  if node.h.split()[0] not in ('@config', '@ignore', '@biblio', '@ref'):

Will look at the other question.

Cheers -Terry

-- 
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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to