[SVN] r5204 (OCaml)

William D. Neumann wneumann at cs.unm.edu
Wed Sep 13 21:48:50 UTC 2006


On Wed, 13 Sep 2006, William D. Neumann wrote:

> More tweaks:
>
> * Changed the begin/end regexes for meta.type-constraint from
>      begin = '(\()(?=(~[a-z][a-zA-Z0-9_]*:|("(\\"|[^"])*")|[^\(\)~"])+(:>|:(?![=:])))';
>      end = '(:>|:(?![=:]))(.*?)(\))';
>  to
>      begin = '(\()(?=(~[a-z][a-zA-Z0-9_]*:|("(\\"|[^"])*")|[^\(\)~"])+([^:>=]:[^:]))';
>      end = '([^:>=]:[^:])(.*?)(\))';

Whoops!  Old cut'n'paste.  The new regexps are actually:
 	begin = '(\()(?=(~[a-z][a-zA-Z0-9_]*:|("(\\"|[^"])*")|[^\(\)~"])+([^:]:[^:=]))';
 	end = '([^:]:[^:=])(.*?)(\))';

William D. Neumann

---

"There's just so many extra children, we could just feed the
children to these tigers.  We don't need them, we're not doing 
anything with them.

Tigers are noble and sleek; children are loud and messy."

         -- Neko Case

Life is unfair.  Kill yourself or get over it.
 	-- Black Box Recorder



More information about the textmate-dev mailing list