Category : C++ Source Code
Archive   : STRX.ZIP
Filename : REGX.H

 
Output of file : REGX.H contained in archive : STRX.ZIP
//
// regx.h : regular expression class interface
// Author : Roy S. Woll
//
// Copyright (c) 1993 by Roy S. Woll
// You may distribute this source freely as long as you leave all files
// in their original form, including the copyright notice as is.
//
// Version 2.1 12/10/92 Add copy constructor
// Version 2.0 12/1/92
//
#ifndef _REGX_H
#define _REGX_H

class regXimp;

class regX{
regXimp * imp;

public:
regX(void);
regX(const regX&);
regX(const char * regexp);
~regX(void);

regX& operator=(const char * regexp);
regX& operator=(const regX&);

int index(const char * searchStr, int * matchLenPtr,
int start=0, int p_caseSensitive=1) const;

int error(void) const;
};

#endif


  3 Responses to “Category : C++ Source Code
Archive   : STRX.ZIP
Filename : REGX.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/