# HG changeset patch # User Franz Glasner # Date 1777813852 -7200 # Node ID 84c0f761c836bdd1740397d0f8a19175f9e8c7ae # Parent 3f37832c405d4c58fda6813f8905fae28779038b Renamed "text-operators" to "word-operators" and allow more case-variants E.g. AND, And, and. diff -r 3f37832c405d -r 84c0f761c836 pygments_lexer_pseudocode2/algpseudocode.py --- a/pygments_lexer_pseudocode2/algpseudocode.py Sun May 03 13:59:16 2026 +0200 +++ b/pygments_lexer_pseudocode2/algpseudocode.py Sun May 03 15:10:52 2026 +0200 @@ -259,7 +259,7 @@ include("explicit-tokentype"), include("remark"), include("keyword-constants"), - include("text-operators"), + include("word-operators"), include("math-builtins"), include("py-name"), ], @@ -271,7 +271,7 @@ include("explicit-tokentype"), include("remark"), include("keyword-constants"), - include("text-operators"), + include("word-operators"), include("math-builtins"), include("py-name"), ], @@ -315,8 +315,13 @@ suffix=r"\b"), Name.Builtin), ], - "text-operators": [ - (words(("in", "is", "and", "or", "xor", "not"), + "word-operators": [ + (words(("IN", "In", "in", + "IS", "Is", "is", + "AND", "And", "and", + "OR", "Or", "or", + "XOR", "Xor", "xor", + "NOT", "Not", "not"), prefix=r"(?