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

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

[Help-source-highlight] Re: [:blank:]* used instead of [[:blank:]]*


From: Lorenzo Bettini
Subject: [Help-source-highlight] Re: [:blank:]* used instead of [[:blank:]]*
Date: Fri, 12 Sep 2008 10:07:18 +0200
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

address@hidden wrote:
Lorenzo Bettini wrote:
address@hidden wrote:
In Source-highlight 2.10.1 (and the previous 2 versions) the regular
expression

[:blank:]*

appears in these language files:

desktop.lang
key_string.lang
properties.lang

I think it should be

[[:blank:]]*

well, you're right, I hadn't noticed that, but apparently they seem to work all the same...


There are some cases where you get strange results - e.g., the third line of this .desktop file:

[Desktop Entry]
Comment[fr]=Une application KPart pour KDE.
Comment[pt_BR] = Um Aplicativo KPart do KDE


OK, so it's better to change that regular expression :-)

anyway, it was actually an error made by me when writing those .lang files.

thanks!
        Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
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




reply via email to

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