Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
html/js regex might not work with mac/windows eol #8
// @ifdef DEBUG someDebuggingCall() // @endif
is using regex "(?://|/_)[ \t]@ifdef[ \t]([^\n_])[ \t](?:*/)?" which assume eol is "\n"
if your end of line is "\r\n", then "DEBUG\r" is searched in context instead of "DEBUG"
until fixed, a quick workaround is to use the /* */ syntax:
/*@ifdef DEBUG*/ (...) /*@endif*/