If you want to verify "AB.12" but "ABx12" is also passing, check if the dot is being specified as a literal character. In Python's regular expressions, . usually matches any character except a newline ...
When having an AI create a regular expression for input validation, the first thing you should ask for is not the pattern itself. First, define "pass examples," "block examples," and "nearly correct ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results