Refix the fix

This commit is contained in:
Melanie Thielker
2010-08-22 16:44:22 +02:00
parent 0ca771c185
commit 5c368c8d38

View File

@@ -5125,7 +5125,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
else if (src.Data[index] is LSL_String)
{
string str = ((LSL_String) src.Data[index]).m_string;
Match m = Regex.Match(str, "^\\s*(-?+?[0-9,]+\\.?[0-9]*)");
Match m = Regex.Match(str, "^\\s*(-?\\+?[,0-9]+\\.?[0-9]*)");
if (m != Match.Empty)
{
str = m.Value;