aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Interface
diff options
context:
space:
mode:
authorMic Bowman2012-03-01 14:49:49 -0800
committerMic Bowman2012-03-01 14:49:49 -0800
commit8a375f3c30302c4a7ace1afb05a8b49fbb415640 (patch)
tree3bcdfe6f35daebd876f1d1e40ab6aaec330402c3 /OpenSim/Region/ScriptEngine/Shared/Api/Interface
parentMerge branch 'master' of /home/opensim/src/opensim (diff)
downloadopensim-SC-8a375f3c30302c4a7ace1afb05a8b49fbb415640.zip
opensim-SC-8a375f3c30302c4a7ace1afb05a8b49fbb415640.tar.gz
opensim-SC-8a375f3c30302c4a7ace1afb05a8b49fbb415640.tar.bz2
opensim-SC-8a375f3c30302c4a7ace1afb05a8b49fbb415640.tar.xz
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.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Interface')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
index dbc1dfc..82a6caf 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
@@ -165,6 +165,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
165 165
166 LSL_String osFormatString(string str, LSL_List strings); 166 LSL_String osFormatString(string str, LSL_List strings);
167 LSL_List osMatchString(string src, string pattern, int start); 167 LSL_List osMatchString(string src, string pattern, int start);
168 LSL_String osReplaceString(string src, string pattern, string replace, int count, int start);
168 169
169 // Information about data loaded into the region 170 // Information about data loaded into the region
170 string osLoadedCreationDate(); 171 string osLoadedCreationDate();