From 1c7fee69ea410e83dae2ff8038668046f17c2e4d Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Wed, 16 Mar 2022 18:33:49 +0200 Subject: [PATCH] Update RegEx.cpp --- module/PocoLib/RegEx.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/module/PocoLib/RegEx.cpp b/module/PocoLib/RegEx.cpp index 5dff3d61..7b36382c 100644 --- a/module/PocoLib/RegEx.cpp +++ b/module/PocoLib/RegEx.cpp @@ -69,17 +69,17 @@ void Register_POCO_RegEx(HSQUIRRELVM vm, Table & ns) // Member Methods //.Func(_SC("Assign"), &PcRegEx::assign) // Overloaded Member Methods - .Overload(_SC("MatchFirst"), &PcRegEx::MatchFirst) - .Overload(_SC("MatchFirst"), &PcRegEx::MatchFirst_) - .Overload(_SC("MatchFirstFrom"), &PcRegEx::MatchFirstFrom) - .Overload(_SC("MatchFirstFrom"), &PcRegEx::MatchFirstFrom_) - .Overload(_SC("Match"), &PcRegEx::Match) - .Overload(_SC("Match"), &PcRegEx::Match_) - .Overload(_SC("MatchFrom"), &PcRegEx::MatchFrom) - .Overload(_SC("MatchFrom"), &PcRegEx::MatchFrom_) - .Overload(_SC("Matches"), &PcRegEx::Matches) - .Overload(_SC("Matches"), &PcRegEx::Matches_) - .Overload(_SC("Matches"), &PcRegEx::MatchesEx) + .FmtFunc(_SC("MatchFirst"), &PcRegEx::MatchFirst) + .FmtFunc(_SC("MatchFirstEx"), &PcRegEx::MatchFirst_) + .FmtFunc(_SC("MatchFirstFrom"), &PcRegEx::MatchFirstFrom) + .FmtFunc(_SC("MatchFirstFromEx"), &PcRegEx::MatchFirstFrom_) + .FmtFunc(_SC("Match"), &PcRegEx::Match) + .FmtFunc(_SC("MatchEx"), &PcRegEx::Match_) + .FmtFunc(_SC("MatchFrom"), &PcRegEx::MatchFrom) + .FmtFunc(_SC("MatchFromEx"), &PcRegEx::MatchFrom_) + .FmtFunc(_SC("Matches"), &PcRegEx::Matches) + .FmtFunc(_SC("MatchesEx"), &PcRegEx::Matches_) + .FmtFunc(_SC("MatchesEx2"), &PcRegEx::MatchesEx) ); // -------------------------------------------------------------------------------------------- ConstTable(vm).Enum(_SC("SqRegExOption"), Enumeration(vm)