# Nested lookbehind with an optional quantifier: unexpected no match ## Environment - PCRE2 10.47 (2025-10-21) - Windows 11, 8-bit library, UTF+UCP enabled ## Pattern ``` /(?<=(?<=A).?)\d/ ``` ## Subject ``` A12 ``` ## Result Only `1` matches; `2` does not. I expected `2` to match as well.
Nested lookbehind with an optional quantifier: unexpected no match
Environment
Pattern
Subject
Result
Only
1matches;2does not. I expected2to match as well.