Adds an OSSL command for regular expression-based string replacement. Parameters

are osReplaceString(string source, string patter, string replace, integer count, integer start)
The count parameter specifies the total number of replacements to make, -1 makes
all replacements.
This commit is contained in:
Mic Bowman
2012-03-01 14:49:49 -08:00
parent 7a88d21e59
commit 8a375f3c30
3 changed files with 32 additions and 0 deletions

View File

@@ -165,6 +165,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
LSL_String osFormatString(string str, LSL_List strings);
LSL_List osMatchString(string src, string pattern, int start);
LSL_String osReplaceString(string src, string pattern, string replace, int count, int start);
// Information about data loaded into the region
string osLoadedCreationDate();