in reply to Emacs and colour of XML tags

my guess would be that the mode has a regexp of something like /<\/?\w+/ for the coloration and doesn't recognize '_' as a word character. UPDATE: Forgot the standard "this has nothing to do with Perl and doesn't belong here, but I'll answer it for you anyway" disclaimer.

-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."

Replies are listed 'Best First'.
Re: Re: Emacs and colour of XML tags
by matth (Monk) on Jan 07, 2003 at 22:33 UTC
    I guess what I am really asking is ..... Does any Perl XML modules behave in the same way? If the answer to this is yes, then I could have problems in the future.

      Hi Matth,

      this sounds more relevant to Perl Monks... No, the Perl XML modules will behave correctly. Sometimes emacs modes use rather simple methods to do syntax colouring, for ease of programming and speed. The XML:: suite of modules, however, is designed to behave correctly ;-). That is, if your input is valid XML, it should parse fine -- everything else would be a bug.