diff options
-rw-r--r-- | src/LexHTML.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx index a268c2b0d..d830a4643 100644 --- a/src/LexHTML.cxx +++ b/src/LexHTML.cxx @@ -1308,7 +1308,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty case SCE_HJ_REGEX: if (ch == '\r' || ch == '\n' || ch == '/') { if (ch == '/') { - while (chNext < 0x80 && islower(chNext)) { // gobble regex flags + while (isascii(chNext) && islower(chNext)) { // gobble regex flags i++; ch = chNext; chNext = styler.SafeGetCharAt(i + 1); |