Menu

#4 Improve regular expression for highlighting

open
None
5
2007-09-30
2007-06-13
Anonymous
No

The current regular expressions for file highlighting don't work very well and I think would be much better if you used Java's regular expression libraries. Currently, there is no way to set it to a case insensitive expression so you have to define new rules for every case you want matched. Using java's library, I could simply add a ?i to the end of the value string and voila.

Discussion

  • Michael Mimo Moratti

    Logged In: YES
    user_id=468146
    Originator: NO

    This is a possible enhancement. The current implementation supports Perl5, AWK and glob expressions that in essence is sufficient enough to map any kind of search criteria. We are considering to support java like regexp's as a separate rule in our coloring mechanism.

     
  • Michael Mimo Moratti

    • assigned_to: nobody --> jmimo
     

Log in to post a comment.

MongoDB Logo MongoDB