@@ -9,13 +9,13 @@ namespace BHOUserScript
99 /// </summary>
1010 static class ParseScriptMetadata
1111 {
12- static readonly string Name = @"// +@name( |\t)+([a-zA-Z\d :.,/\*_-]+)" ;
13- static readonly string Description = @"// +@description( |\t)+([a-zA-Z\d :.,/\*_-]+)" ;
14- static readonly string Author = @"// +@author( |\t)+([a-zA-Z\d :.,/\*_-]+)" ;
15- static readonly string Version = @"// +@version( |\t)+([a-zA-Z\d :.,/\*_-]+)" ;
16- static readonly string Match = @"// +@match( |\t)+([a-zA-Z\d :.,/\*_-]+)" ;
17- static readonly string Include = @"// +@include( |\t)+([a-zA-Z\d :.,/\*_-]+)" ;
18- static readonly string UpdateUrl = @"// +@updateURL( |\t)+([a-zA-Z\d :.,/\*_-]+)" ;
12+ static readonly string Name = @"// +@name( |\t)+([a-zA-Z\d :.,/\*_\+\?! -]+)" ;
13+ static readonly string Description = @"// +@description( |\t)+([a-zA-Z\d :.,/\*_\+\?! -]+)" ;
14+ static readonly string Author = @"// +@author( |\t)+([a-zA-Z\d :.,/\*_\+\?! -]+)" ;
15+ static readonly string Version = @"// +@version( |\t)+([a-zA-Z\d :.,/\*_\+\?! -]+)" ;
16+ static readonly string Match = @"// +@match( |\t)+([a-zA-Z\d :.,/\*_\+\?! -]+)" ;
17+ static readonly string Include = @"// +@include( |\t)+([a-zA-Z\d :.,/\*_\+\?! -]+)" ;
18+ static readonly string UpdateUrl = @"// +@updateURL( |\t)+([a-zA-Z\d :.,/\*_\+\?! -]+)" ;
1919
2020 public static Script Parse ( string path )
2121 {
0 commit comments