keeppattern while incremental searching if possible
Merge branch 'keeppattern' into dev