DevTools: Support replacing with regex capturing groups in editor

BUG=382216
R=lushnikov

Review URL: https://codereview.chromium.org/664143002

git-svn-id: svn://svn.chromium.org/blink/trunk@184084 bbb929c8-8fbe-4397-9dbb-9b2b20218538