2008/5/30 Ben Hood <<a href="mailto:0x6e6562@gmail.com">0x6e6562@gmail.com</a>>:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
One feature that I miss from other CC toolkits is being able to declare your regexs to be case insensitive.<br>
<br>
Here's an example from a JavaCC grammar:<br>
<br>
/* Reserved Words */<br>
TOKEN [IGNORE_CASE] :<br>
{<br>
< NOT : "NOT"><br>
| < AND : "AND"><br>
| < OR : "OR"><br>
| < BETWEEN : "BETWEEN"><br>
| < LIKE : "LIKE"><br>
| < ESCAPE : "ESCAPE"><br>
| < IN : "IN"><br>
| < IS : "IS"><br>
| < TRUE : "TRUE" ><br>
| < FALSE : "FALSE" ><br>
| < NULL : "NULL" ><br>
| < XPATH : "XPATH" ><br>
| < XQUERY : "XQUERY" ><br>
}<br>
<br>
I ended having to put patterns in like<br>
<br>
between|BETWEEN<br>
<br>
to match lower and upper cases alike.<br>
<br>
I know that you are bound by what the regexp module can give you though.</blockquote><div><br>I know I know. This is a feature which is lacking in the regexp module as well. :-) Maybe in a future release (of both).<br><br>
Robert<br><br></div></div>