• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Revision29336 (tree)
Time2022-01-14 19:57:36
Authorcsware

Log Message

Improve regex for .js files

Based on TortoiseGit rev. a5379044f2beba10cd8156bb12cc357829138c81.

Change Summary

Incremental Difference

--- trunk/src/TortoiseSVNSetup/include/autolist.txt (revision 29335)
+++ trunk/src/TortoiseSVNSetup/include/autolist.txt (revision 29336)
@@ -9,7 +9,7 @@
99 .h, .hpp, .hxx = ^\s*(?:class|struct)\s+([\w]+)|^\s+(?:\w+\s+)*([\w]+)\s*\(|^#define\s+(\w+)
1010 .html, .htm = \"#(\w+)\"
1111 .java = (?:public|protected|private|internal)\s+(?:[\w.]+\s+)*([\w.]+)|class\s+([\w]+)(?:(?:\s+)?(?:extends|implements)(?:\s+)?([\w]+)?)
12-.js = (?:(?:prototype\.|this\.)(\w+)\s*=\s*)?function\s*(?:(\w*)\s*)\(
12+.js = (?:(?:prototype\.|this\.)(\w+)\s*=\s*function\s*\(|function\s+(\w+)\s*\()
1313 .pas = (\w+)\s+=\s+(?:class|record|interface)|(?:procedure|function|property|constructor)\s+(\w+)
1414 .php = ^\s*class\s+(\w+)|^\s*(?:(?:public|private)?\s+function)\s+(\w+)|::(\w+)|->(\w+)
1515 .cgi, .pl, .pm = ^\s*sub\s+(\w+)|\s*(?:package|use)\s+([\w\:]+)
Show on old repository browser