Problem with writing a Mode
Submitted by Monday, 3 August, 2009 - 13:40
on
hi all,
i have a problem creating a mode.
i'd like to have some highlighting on the log and i've created this:
http://www.pastie.org/569660
but whenever i put anything like a regex special character (e.g. "\d") in the "end" tag, it selects everything until the end of the page.
for instance, "line " or "line 1" works ok, but "line ." is screwed
any ideas?
i have a problem creating a mode.
i'd like to have some highlighting on the log and i've created this:
http://www.pastie.org/569660
but whenever i put anything like a regex special character (e.g. "\d") in the "end" tag, it selects everything until the end of the page.
for instance, "line " or "line 1" works ok, but "line ." is screwed
any ideas?