Also, for anyone else that reads this: I figured out what my error was with the previous format. The "zero or one," "zero or more" and "one or more" are modifiers, which must be added after the character pattern identifier.
For example, I was also trying to figure out how to require 4 numbers, with the option (not required) of an alpha afterwards. The proper way to enter this would be \d\d\d\d\p{L}?, where \d\d\d\d requires four numbers, \p{L} is one letter, but the ? is a modifier, meaning it will accept 0 or 1 instances of the letter.
In my first query the (other) way to do it would have been \d\d\d\d\d\d?, where the ? modifies the last number requirement, saying 0 or 1 instance is OK. in others words, 5 or 6 numbers would be accepted.