• change several patterns of the form: [A-Za-z…]+\w* into [A-Za-z…][\w…]* — I 
am thinking though, that ‘…’ should not be allowed for anything but the first 
character
• change a pattern of the fork: \w+ \.? \w* into \w+ (\. \w*)?

Both of the above would previously result in potential really bad performance, 
because two greedy repeats basically matching the same thing, was after each 
other, and that leads to exponential time complexity in input size.

Changed:
U   trunk/Bundles/JavaScript.tmbundle/Syntaxes/JavaScript.plist

_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/mailman/listinfo/textmate-dev

Reply via email to