aboutsummaryrefslogtreecommitdiff
path: root/src/functionregex.h
blob: 2096a6493a51de0781b2b3b6fb3ea5ac11b07062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef FUNCTION_REG_EX_H
#define FUNCTION_REG_EX_H

#include "function.h"

namespace Bu
{
	class RegEx;
}

class FunctionRegEx : public Function
{
public:
	FunctionRegEx();
	virtual ~FunctionRegEx();

	virtual Bu::FString getName() const;
	virtual Variable call( Variable &input, VarList lParams );

	Bu::FString replace( Bu::RegEx &re, const Bu::FString &sSrc,
		const Bu::FString &sPat );
};

#endif