jed-users mailing list

[2002 Date Index] [2002 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: dfa_define_highlight_rule


Morten Bo Johansen <mojo@xxxxxxxx> wrote:
>For instance in a line looking like 
>
>   msgid " as audio track, it's a directory "
>
>I'd like to highlight the blanks before and after the '"'.

   In the above example, a blank occurs before the first quote, after
the first quote, and before the last quote.  I think that the dfa
syntax highlighting will not work if two or more regular expressions
apply to a given set of characters.  In the above example, this occurs
for first occurance of ' "' and for the first occurance of '" '.
Since both rules apply to the same '"' character, both rules get
rejected. Since I did not write the dfa syntax highlighting code, I do
not know if this decision is by design.  But clearly there is an
ambiguity in this case.

--John

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2002 date index] [2002 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]