Sunday, 13 November 2016

regex - Regular Expression (S+?) vs (S+))

What is the difference between the below two expressions?
1. (\S+)
2. (\S+?)



I would appreciate if someone could explain this.




Thanks,

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...