I know. Codeless language modules have been beaten to death on the list. I have a tough one, and I need some help. I have a pretty good CLM for Alloy that can be found here:
http://vtn3.com/AlloyLanguage.plist Currently the Function Pattern is this: <string><![CDATA[(?x: (?P<function> ^\s* (abstract\s+)? (?> (sig) | (fact) | (fun) | (pred) | (run) | (check) | (assert) ) \s+ (?P<function_name> [0-9A-Z_a-z]+ ) \s[^{\n\r]*? (?P<function_body> (?> \s* (?>{[^}]*}) (?>\s*{[^}]*})? ) ) ) )]]></string> This works pretty well, except when the function looks like this: sig example {} If you are interested in helping, I can send you some .als files that are valid and full of degenerate cases. Thanks in advance for your help. -- Thane -- ------------------------------------------------------------------ Have a feature request? Not sure the software's working correctly? If so, please send mail to <[EMAIL PROTECTED]>, not to the list. List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml> List archives: <http://www.listsearch.com/BBEditTalk.lasso> To unsubscribe, send mail to: <[EMAIL PROTECTED]>
