L6·n5364: regex and code tokens such as \Z, $, and r'^' anchors

Neuron 5364 of layer 6 (of 36) in Qwen3-4B, among its association layers: what drives a neuron reads as a concept near the tokens it fires on, more than as those tokens. Read here on its + side.

Fires on
regex and code tokens such as \Z, $, and r'^' anchors (the labeller was 60% sure)
Makes the model say
runs of ellipses and exclamation marks (the labeller was 50% sure)

Where it fires: …characters " # end quote )\[Z] # end

Tokens it fires on hardest: '^, $, ^(, ^[, Z

Its − side: regex escape \w and character-class tokens

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