[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-source-highlight] Backreferences in source-highlight 2.7

From: gnombat
Subject: [Help-source-highlight] Backreferences in source-highlight 2.7
Date: Sun, 10 Jun 2007 13:00:42 -0500
User-agent: Thunderbird (X11/20070604)

I'm having trouble with backreferences in source-highlight 2.7. If I create a language definition file named foo.lang:

keyword = `a(.)\1`

And then I create a test file

aaa abb acc a** a@@

And then I run source-highlight:

source-highlight --lang-def=foo.lang

Then "aaa", "abb" and "acc" are highlighted, but "a**" and "a@@" are not. Shouldn't the dot match any character?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]