L4·n3879: regex quantifiers and bracket patterns (+ inside character classes and groups)

Neuron 3879 of layer 4 (of 36) in Qwen3-8B, 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 quantifiers and bracket patterns (+ inside character classes and groups) (the labeller was 50% sure)
Makes the model say
prepositions and adverbs after a verb (through, into, upon, across) (the labeller was 30% sure)

Where it fires: …test(expression)) { expression = expression.replace(/\([^()[]+\])/g,

Tokens it fires on hardest: )/(, )\, +\, /, ]+\

Its − side: code string literals ending in '\r\n' and regex character classes (vowels…

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