Maybe
- The
?
operator matches a character zero or one times, but not more than one.
- The
?
operator affects whatever is immediately before it. For example, inab?
, the?
operators only affects “b”, not “a”. We say that it binds tightly.
Search
?
operator matches a character zero or one times, but not more than one.?
operator affects whatever is immediately before it. For example, in ab?
, the ?
operators only affects “b”, not “a”. We say that it binds tightly.