L2·n3433: regex character-class and anchor syntax inside code, e.g. [a-zA-Z], ^, trim

Neuron 3433 of layer 2 (of 36) in Qwen3-4B, among its sensory layers: neurons respond to the literal input token. Read here on its + side.

Fires on
regex character-class and anchor syntax inside code, e.g. [a-zA-Z], ^, trim (the labeller was 75% sure)
Makes the model say
closing ellipsis or quote then line break, as in ..." or ...' (the labeller was 50% sure)

Where it fires: …() r = re.sub('(\\w)[^a-zA[-Z]0-9

Tokens it fires on hardest: -Z, -z, ?:, ?, )?

Its − side: ANSI escape and CSS-style identifiers in Python code, e.g. \033[0m, css_

Driven by

Drives

Labels by Claude Haiku 5.5. The explorer shows this neuron's weight reads, firings and connections beside the labels.

Every unit's data is in the neuron-lens catalog on Hugging Face (CC BY 4.0). Guide: using Neuron Lens in research, from an AI assistant (MCP) or from code · How to read a unit · the method and findings