Rather go for /.*?/. As this matches the minimal string that needs matching which is what most of us want.
Note the question sign after the star. The difference is made by it.
Rather go for /.*?/. As this matches the minimal string that needs matching which is what most of us want.
Note the question sign after the star. The difference is made by it.