Re: error during regex processing

Lorenzo Bettini <[email protected]> Wed, 21 Jun 2006 19:54:03 +0200
Newsgroups gmane.comp.gnu.source-highlight.general
Message-ID <[email protected]>
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    |
+-----------------------------------------------------+

_______________________________________________
Help-source-highlight mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-source-highlight
url.lang (text/plain, 116 B)
url = '((<?)([[:word:]]+[\./\-_]?)+@([[:word:]]+[\./\-_]?)+(>?))'
url = '([[:word:]]+://(?:[[:word:]]+[\./\-_]?)+)'
main.c (text/plain, 213 B)
/*  _________________________________________________________________
**  _______ [email protected] _____ another_address.foo@bar_foo.it _________
**  Utility Functions
**  http://www_foo
*/

int main() {
	return 0;
}