<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><SPAN class="Apple-style-span">I'm currently tweaking the language plist of the ActionScript 3 bundle (this is <I>not</I> an ActionScript 3 question), and I'm having trouble with it.</SPAN><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Like most other languages, there are hundreds of supportive classes, functions, properties and constants in the AS3 language that deserve a special syntax coloration. The default language definition of the AS3 bundle currently has lists of these words, hundreds of words long. I've added a few hundred here and there, and now only some of them work.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The specific part of my language definition that's being troublesome somewhat resembles this:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>{<SPAN class="Apple-tab-span" style="white-space:pre">    </SPAN>name = 'support.class.actionscript.3';</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">       </SPAN>match = '([\w\.]|\b)(Class1|Class2|Class3| ... |ClassN)\b';</DIV><DIV>},</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>-where N is a very, very large number. About 350. And my problem is, specifically, that some of the words in the match line will behave as if their scope is support.class.actionscript.3, and some of them will behave as if they have no scope.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I'd really like this to work. Are there technical limits to the number of words to specify in a match statement? Does anyone have any suggestions?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks very much,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>-Jeremy Sachs</DIV></BODY></HTML>