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

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

Re: [Help-source-highlight] Re: error during regex processing


From: Lorenzo Bettini
Subject: Re: [Help-source-highlight] Re: error during regex processing
Date: Thu, 22 Jun 2006 16:01:21 +0200
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

sorry, there was another bug :-(

here are the (hopefully) fixed url.lang, and another test file

Lorenzo

Lorenzo Bettini wrote:
Adrian Reber wrote:

Hi,

there has been a bug report about source-highlight in Fedora Extras.
Does the following bug report sound familiar?

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=195720


Hi Adrian

thanks for the link!
Indeed it's a problem with url.lang regular expressions.

I think I fixed it now; I attach the fixed version and also a more
involved test example.

I'll also answer in the bugzilla site

thanks again
hope to hear from you soon
    Lorenzo

P.S. I'll soon release also the bug-fix in the next version of
source-highlight



--
+-----------------------------------------------------+
|  Lorenzo Bettini          ICQ# lbetto, 16080134     |
|  PhD in Computer Science                            |
|  Dip. Sistemi e Informatica, Univ. di Firenze       |
|  Florence - Italy        (GNU/Linux User # 158233)  |
|  Home Page        : http://www.lorenzobettini.it    |
|  http://music.dsi.unifi.it         XKlaim language  |
|  http://www.purplesucker.com Deep Purple Cover Band |
|  http://www.gnu.org/software/src-highlite           |
|  http://www.gnu.org/software/gengetopt              |
|  http://www.lorenzobettini.it/software/gengen       |
|  http://www.lorenzobettini.it/software/doublecpp    |
+-----------------------------------------------------+
/*  _________________________________________________________________
**  _______ address@hidden _____ address@hidden _________
**  Utility Functions
**  fake.url.it
**  http://www_foo
*/

int main() {
        return 0;
}

vardef URLPART = '[[:word:]\./\-_]+'
url = '(<?)' + $URLPART + '@' + $URLPART + '(>?)'
url = '[[:word:]]+://' + $URLPART

reply via email to

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