Aleksandra Semenova wrote:Whats the difference between these two?
Eater of them return the same result.
Regular expressions, like any other language, has many different ways to represent the same thing -- especially for simple expressions, like in this example.