| Server IP : 104.21.25.180 / Your IP : 104.23.197.123 Web Server : Apache/2.4.37 System : Linux almalinux.duckdns.org 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64 User : ricodeal ( 1046) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/enscript/hl/ |
Upload File : |
/**
* Name: changelog
* Description: ChangeLog files.
* Author: Markku Rossi <[email protected]>
*/
state changelog extends HighlightEntry
{
/* Date entries. Both new and old formats. */
/^([^ \t]........[0-9: ]*)([^<]+)(<)([A-Za-z0-9_.-]+@[A-Za-z0-9_.-]+)(>)/ {
string_face (true);
language_print ($1);
string_face (false);
reference_face (true);
language_print ($2);
reference_face (false);
language_print ($3);
variable_name_face (true);
language_print ($4);
variable_name_face (false);
language_print ($5);
}
/* File descriptions with function names. */
/(^\t\* )([^\(]+)(\()([^\)]+)(\):)/ {
language_print ($1);
function_name_face (true);
language_print ($2);
function_name_face (false);
language_print ($3);
keyword_face (true);
language_print ($4);
keyword_face (false);
language_print ($5);
}
/* File descriptions without function names. */
/(^\t\* )([^ :]+)(:)/ {
language_print ($1);
function_name_face (true);
language_print ($2);
function_name_face (false);
language_print ($3);
}
/* Function name descriptions without file names. */
/(^\t\()([^\)]+)(\):)/ {
language_print ($1);
keyword_face (true);
language_print ($2);
keyword_face (false);
language_print ($3);
}
}
/*
Local variables:
mode: c
End:
*/