I guess either the software that tests the code or vbulletin/regex doesn't interpret the equation the right now. in the software it shows
^([0-9][A-Z][0-9][X13579][0-9])|(DEP|Civ){0,1}$
as working perfectly for what i want. DEP is a match Dep is not. Civ is a match and CIV is not. But that exact same code on vbulletin not only matches DEP but dep and depp... and so on. Its like vbulletin doesn't even use the equation that i am putting in.
|