X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_regex.h;h=040778b5e8a7c1a7c1c76acc342fd7b5de534867;hp=0f37d9d1875df6681699b4439fc8a1a6358a176d;hb=c3e57678c8be193fc137854020f3a90887be97c9;hpb=6833ce8bdca2d64e14485118f2a4417b7e1cb1b1 diff --git a/mutt_regex.h b/mutt_regex.h index 0f37d9d..040778b 100644 --- a/mutt_regex.h +++ b/mutt_regex.h @@ -1,20 +1,11 @@ /* + * Copyright notice from original mutt: * Copyright (C) 1996-2000 Michael R. Elkins - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. - */ + * + * This file is part of mutt-ng, see http://www.muttng.org/. + * It's licensed under the GNU General Public License, + * please see the file GPL in the top level source directory. + */ /* * A (more) generic interface to regular expression matching @@ -39,11 +30,10 @@ #define REGCOMP(X,Y,Z) regcomp(X, Y, REG_WORDS|REG_EXTENDED|(Z)) #define REGEXEC(X,Y) regexec(&X, Y, (size_t)0, (regmatch_t *)0, (int)0) -typedef struct -{ - char *pattern; /* printable version */ - regex_t *rx; /* compiled expression */ - int not; /* do not match */ +typedef struct { + char *pattern; /* printable version */ + regex_t *rx; /* compiled expression */ + int not; /* do not match */ } REGEXP; WHERE REGEXP Mask; @@ -51,5 +41,6 @@ WHERE REGEXP QuoteRegexp; WHERE REGEXP ReplyRegexp; WHERE REGEXP Smileys; WHERE REGEXP GecosMask; +WHERE REGEXP StripWasRegexp; #endif /* MUTT_REGEX_H */