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=195720Hi 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 | +-----------------------------------------------------+
/* _________________________________________________________________ ** _______ [EMAIL PROTECTED] _____ [EMAIL PROTECTED] _________ ** Utility Functions ** fake.url.it ** http://www_foo */ int main() { return 0; }
vardef URLPART = '[[:word:]\./\-_]+' url = '(<?)' + $URLPART + '@' + $URLPART + '(>?)' url = '[[:word:]]+://' + $URLPART
_______________________________________________ Help-source-highlight mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-source-highlight
