syntax: changelog: support more bug/issue styles

These are formats used by binutils/glibc/gdb/gcc.
This commit is contained in:
Mike Frysinger 2016-04-12 15:20:30 -04:00
parent ec295f5e68
commit 111b30008a

View File

@ -12,7 +12,7 @@ color yellow "<[^>]*@[^>]*>"
# Command-line options.
color cyan "[[:space:]]-[a-zA-Z\$]" "--[8a-z-]+"
# Bug and patch numbers.
color cyan "bug #[0-9]{5,9}" "patch #[0-9]{4,9}"
color cyan "(BZ|bug|patch) #[0-9]+" "PR [[:alnum:]]+/[0-9]+"
# Probable constants, for variety.
color brightred "\<[A-Z_][0-9A-Z_]+\>"
# Key sequences.