diff --git a/trunk/Helpers/LSL2CSharp.cs b/trunk/Helpers/LSL2CSharp.cs index 83ab770..cf8f33c 100644 --- a/trunk/Helpers/LSL2CSharp.cs +++ b/trunk/Helpers/LSL2CSharp.cs @@ -175,7 +175,7 @@ namespace LSLEditor // State change, excluding global functions regex = new Regex( - @"(\s+)state\s+(\w*)(\s*;)", + @"(\s+)state\s+(\w+)(\s*;)", RegexOptions.IgnorePatternWhitespace | RegexOptions.Compiled );