kdecore Library API Documentation

kregexp.h

00001 /* This file is part of the KDE libraries
00002    Copyright (c) 1999 Torben Weis <weis@kde.org>
00003 
00004    This library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Library General Public
00006    License version 2 as published by the Free Software Foundation.
00007 
00008    This library is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY; without even the implied warranty of
00010    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011    Library General Public License for more details.
00012 
00013    You should have received a copy of the GNU Library General Public License
00014    along with this library; see the file COPYING.LIB.  If not, write to
00015    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00016    Boston, MA 02111-1307, USA.
00017 */
00018 #ifndef __kregexp_h__
00019 #define __kregexp_h__
00020 
00021 #include "kdemacros.h"
00022 
00023 class KRegExpPrivate;
00024 
00061 class KDE_DEPRECATED KRegExp
00062 {
00063 public:
00064 
00068   KRegExp();
00069 
00076   KRegExp( const char *_pattern, const char *_mode = "" );
00077   ~KRegExp();
00078 
00086   bool compile( const char *_pattern, const char *_mode = "" );
00087 
00093   bool match( const char *_string );
00094 
00095 
00107   const char *group( int _grp );
00108 
00115   int groupStart( int _grp );
00123   int groupEnd( int _grp );
00124 
00125 private:
00126   KRegExpPrivate *m_pPrivate;
00127 };
00128 
00129 
00130 #endif
KDE Logo
This file is part of the documentation for kdecore Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 14 09:16:07 2006 by doxygen 1.3.6 written by Dimitri van Heesch, © 1997-2003