diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs index 4c4eff9..5f8b541 100644 --- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | |||
@@ -1436,7 +1436,7 @@ namespace OpenSim.Region.ScriptEngine.Shared | |||
1436 | 1436 | ||
1437 | public LSLInteger(string s) | 1437 | public LSLInteger(string s) |
1438 | { | 1438 | { |
1439 | Regex r = new Regex("^[ ]*-?[0-9][0-9xX]?[0-9a-fA-F]*"); | 1439 | Regex r = new Regex("(^[ ]*0[xX][0-9A-Fa-f][0-9A-Fa-f]*)|(^[ ]*-?[0-9][0-9]*)"); |
1440 | Match m = r.Match(s); | 1440 | Match m = r.Match(s); |
1441 | string v = m.Groups[0].Value; | 1441 | string v = m.Groups[0].Value; |
1442 | 1442 | ||