Web Inspector: refactoring to use string as argument for highlightRegex API
https://bugs.webkit.org/show_bug.cgi?id=107243

Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-01-21
Reviewed by Pavel Feldman.

Source/WebCore:

Use string as argument for highlightRegex API instead of using regex object.

No new tests: no change in behaviour.

* inspector/front-end/DefaultTextEditor.js:
(WebInspector.TextEditorMainPanel.prototype.highlightRegex):
* inspector/front-end/TextEditor.js:

LayoutTests:

Correct test to correspond to refactoring changes.

* inspector/editor/text-editor-highlight-regexp.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140314 268f45cc-cd09-0410-ab3c-d52691b4dbfc