From 978108eca0cae386d3a48150ca7a56bb6168f982 Mon Sep 17 00:00:00 2001 From: Tim Voronov Date: Tue, 10 Mar 2020 21:29:06 -0400 Subject: [PATCH] Added functions with correct names (#461) --- pkg/stdlib/strings/lib.go | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkg/stdlib/strings/lib.go b/pkg/stdlib/strings/lib.go index 267dff41..3d32e7b2 100644 --- a/pkg/stdlib/strings/lib.go +++ b/pkg/stdlib/strings/lib.go @@ -21,10 +21,14 @@ func RegisterLib(ns core.Namespace) error { "LTRIM": LTrim, "RANDOM_TOKEN": RandomToken, "MD5": Md5, - "REGEXP_MATCH": RegexMatch, - "REGEXP_SPLIT": RegexSplit, - "REGEXP_TEST": RegexTest, - "REGEXP_REPLACE": RegexReplace, + "REGEXP_MATCH": RegexMatch, // Deprecated + "REGEXP_SPLIT": RegexSplit, // Deprecated + "REGEXP_TEST": RegexTest, // Deprecated + "REGEXP_REPLACE": RegexReplace, // Deprecated + "REGEX_MATCH": RegexMatch, + "REGEX_SPLIT": RegexSplit, + "REGEX_TEST": RegexTest, + "REGEX_REPLACE": RegexReplace, "RIGHT": Right, "RTRIM": RTrim, "SHA1": Sha1,