Re: [patch] reLyX: handle documentclasses with non-alpha characters

2000-11-02 Thread Jean-Marc Lasgouttes
> "Amir" == Amir Karger <[EMAIL PROTECTED]> writes: Amir> Sure, I suppose. New patch below. Jean-Marc, could you apply? Done. JMarc

Re: [patch] reLyX: handle documentclasses with non-alpha characters

2000-11-02 Thread Amir Karger
On Wed, Nov 01, 2000 at 03:35:07PM +0100, Yves Bastide wrote: > > reLyX cannot handle document class names with non `word' characters > (not in [A-Za-z_]), such as article-hermes. This patch therefore replaces > \w by \S (non blank) in the regular expression. Good point. > Note this is not foo

[patch] reLyX: handle documentclasses with non-alpha characters

2000-11-01 Thread Yves Bastide
My last patch for today (-: reLyX cannot handle document class names with non `word' characters (not in [A-Za-z_]), such as article-hermes. This patch therefore replaces \w by \S (non blank) in the regular expression. Note this is not foolproof, either: perhaps better would be \s*(\S+)\s* or som