can someone give difference between X?
,X?+
and X??
with java example.
where X?
,X?+
and X??
are java.util.regex.Pattern
.
for all three patterns they have given same explanation (X
, once or not at all)
reference http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html
I am not able to find good example in internet
Note: today morning I asked part of question here: what is the difference between the patterns X? and X?, since I have an updated posting it again