The construction {,2} in regular expressions is only supported by Onigurma (which is used by TextMate). This TextMate bundle is used to highlight D code on GitHub. However, GitHub is using a PCRE-based engine for regexes and thus, the following code gets incorrectly highlighted.
const MAPI_LOGON_UI = \00;
This pull request fixes that by using an explicit count modifier in the regex.
The construction
{,2}
in regular expressions is only supported by Onigurma (which is used by TextMate). This TextMate bundle is used to highlight D code on GitHub. However, GitHub is using a PCRE-based engine for regexes and thus, the following code gets incorrectly highlighted.This pull request fixes that by using an explicit count modifier in the regex.