Menu

#1 Colorizing Case Insensitive Languages

open
nobody
None
5
2007-11-07
2007-11-07
Harry
No

I am trying to get a SQL rule set working but a bug in the design which is the regex being used is case sensitive. In SQL "seLecT", "SELECT", "Select" and "select" are all valid forms but the regex handler is only being told to compile the regex.

My suggestion for getting this done would be to add an additional attribute to a rule in the XML to allow for the configuration of regex options for each rule.

The next part of the change would be to make the rules run versus each line to be done one by one versus the current concatenated method (not too big of a change).

I have started making the change, and if there is an agreement that this is an important feature please let me know as I will likely have the change completed by the end of the day. Email me at lordh (at) autonation (dotcom).

Discussion

  • Harry

    Harry - 2007-11-07

    New Code, XML, CSS and Example file

     
  • Harry

    Harry - 2007-11-07

    Logged In: YES
    user_id=1459231
    Originator: YES

    File Added: Colorizer.zip

     

Log in to post a comment.