On 17.11.2004, at 13:34, Ivar Åsell wrote:
patterns = ( /* comments */ { name = "Comment"; begin = "/\*"; end = "\*/"; foregroundColor = "#FF00FF"; backgroundColor = "#FFFFDC"; },
begin="/\*" - What does the first forwardslash do??
It's part of the start "tag", i.e. /* starts a comment and */ ends it. The backslashes are doubled probably because the text goes through two different regexp parsers.
HTH, Jarkko
-- Jarkko Laine http://jlaine.net