Use a negated character class instead of the greedy and slow .* or .+

Wherever possible, use negated character classes instead of the potential performance draining patterns (.* or .+), as follows:

param1=[^&]+&param2=[^&]+&param3=[^&]+$ 

Avoid using slow-performing quantifiers, as follows:

param1=.+&param2=.+param3=.+$ 
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.218.228.99