Extract common repeating substrings out of alternation

Consider the following pattern:

(playground|player|playing) 

Instead of using the preceding pattern, it is better to extract the common substring, play, and move it to the left of alternation, as follows:

play(ground|er|ing) 
..................Content has been hidden....................

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