Fix for state change without state name passing syntax-check.

This commit is contained in:
ImaMechanique 2011-12-08 15:27:39 +00:00 committed by niel-archer
parent dd11201200
commit ae0cc457cf

View file

@ -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
);