Help for this page
o followed by n followed by e, followed by any character (including a newline -- /s switch) repeated zero or more times (but as few as possible) followed by e followed by e and saved in $1.
m/(one).*?(\s\w+ee)\b/s; That is, match: ... followed by e followed by e (captured in $2) followed by a word boundary