Re: Backreferences in source-highlight 2.7
Lorenzo Bettini <[email protected]> Thu, 19 Jul 2007 14:39:17 +0200
| Newsgroups | gmane.comp.gnu.source-highlight.general |
|---|---|
| Message-ID | <[email protected]> |
gnombat wrote: > 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? > Hi there the temporary version you find here http://rap.dsi.unifi.it/~bettini/source-highlight-2.7.tar.gz should fix this problem hoep to hear from you soon Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net