[TxMt] Verilog language bundle

Charilaos Skiadas cskiadas at uchicago.edu
Mon Dec 5 02:32:06 UTC 2005


On Dec 4, 2005, at 8:19 PM, Jeff DuMonthier wrote:

> match = '\b((([0-9]*)\'b[0-1zZ\?]*)|0(x|X)[0-9a-fA-F]*)|(([0-9]+\.? 
> [0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f|ll|LL| 
> ull|ULL)?\b';
>
> The highlighting, which I assume indicates an error, starts at the  
> b after the probably not escaped second '.
>

Try maybe adding parentheses enclosing everything but the \b's, like so:
\b(((([0-9]*)\'b[0-1zZ\?]*)|0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\. 
[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?)\b

If you send me the whole syntax and some sample examples and who they  
are supposed to work, I can give it a try over here. The highlighting  
doesn't necessarily indicate an error. The question is what scope you  
are getting on those things, which you can see by shift-cntrl-p.


Haris



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20051204/64aa56f6/attachment.html>


More information about the textmate mailing list