Re: [:blank:]* used instead of [[:blank:]]*

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: [:blank:]* used instead of [[:blank:]]*

by Lorenzo Bettini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

gnombat@... wrote:

> Lorenzo Bettini wrote:
>> gnombat@... 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


_______________________________________________
Help-source-highlight mailing list
Help-source-highlight@...
http://lists.gnu.org/mailman/listinfo/help-source-highlight