aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index ca09705..5717086 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5125,7 +5125,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5125 else if (src.Data[index] is LSL_String) 5125 else if (src.Data[index] is LSL_String)
5126 { 5126 {
5127 string str = ((LSL_String) src.Data[index]).m_string; 5127 string str = ((LSL_String) src.Data[index]).m_string;
5128 Match m = Regex.Match(str, "^\\s*(-?+?[0-9,]+\\.?[0-9]*)"); 5128 Match m = Regex.Match(str, "^\\s*(-?\\+?[,0-9]+\\.?[0-9]*)");
5129 if (m != Match.Empty) 5129 if (m != Match.Empty)
5130 { 5130 {
5131 str = m.Value; 5131 str = m.Value;