help-source-highlight
[Top][All Lists]
Advanced

[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 1.5.0.12 (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 example.foo:

aaa abb acc a** a@@

And then I run source-highlight:

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

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]