Re: [:blank:]* used instead of [[:blank:]]*
Lorenzo Bettini <[email protected]> Fri, 12 Sep 2008 10:07:18 +0200
| Newsgroups | gmane.comp.gnu.source-highlight.general |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > Lorenzo Bettini wrote: >> [email protected] 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