Bug 396753 - searchUtils.js has wrong dependency to 'orion/editor/regex'
diff --git a/bundles/org.eclipse.orion.client.editor/web/orion/editor/regex.js b/bundles/org.eclipse.orion.client.core/web/orion/regex.js
similarity index 96%
rename from bundles/org.eclipse.orion.client.editor/web/orion/editor/regex.js
rename to bundles/org.eclipse.orion.client.core/web/orion/regex.js
index eac976c..7662377 100644
--- a/bundles/org.eclipse.orion.client.editor/web/orion/editor/regex.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/regex.js
@@ -16,7 +16,7 @@
  * @class Utilities for dealing with regular expressions.
  * @description Utilities for dealing with regular expressions.
  */
-define("orion/editor/regex", [], function() { //$NON-NLS-0$
+define("orion/regex", [], function() { //$NON-NLS-0$
 	/**
 	 * @methodOf orion.editor.regex
 	 * @static
diff --git a/bundles/org.eclipse.orion.client.editor/web/orion/editor/find.js b/bundles/org.eclipse.orion.client.editor/web/orion/editor/find.js
index 6928752..7176c82 100644
--- a/bundles/org.eclipse.orion.client.editor/web/orion/editor/find.js
+++ b/bundles/org.eclipse.orion.client.editor/web/orion/editor/find.js
@@ -16,7 +16,7 @@
 	'orion/keyBinding', //$NON-NLS-0$

 	'orion/editor/keyModes', //$NON-NLS-0$

 	'orion/editor/annotations', //$NON-NLS-0$

-	'orion/editor/regex', //$NON-NLS-0$

+	'orion/regex', //$NON-NLS-0$

 	'orion/objects', //$NON-NLS-0$

 	'orion/util' //$NON-NLS-0$

 ], function(messages, mKeyBinding, mKeyModes, mAnnotations, mRegex, objects, util) {

diff --git a/bundles/org.eclipse.orion.client.editor/web/orion/editor/textMateStyler.js b/bundles/org.eclipse.orion.client.editor/web/orion/editor/textMateStyler.js
index e4269cd..e54c496 100644
--- a/bundles/org.eclipse.orion.client.editor/web/orion/editor/textMateStyler.js
+++ b/bundles/org.eclipse.orion.client.editor/web/orion/editor/textMateStyler.js
@@ -12,7 +12,7 @@
 /*jslint regexp:false laxbreak:true*/
 /*global define */
 
-define("orion/editor/textMateStyler", ['orion/editor/regex' ], function(mRegex) {
+define("orion/editor/textMateStyler", ['orion/regex' ], function(mRegex) {
 
 var RegexUtil = {
 	// Rules to detect some unsupported Oniguruma features
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/extensionCommands.js b/bundles/org.eclipse.orion.client.ui/web/orion/extensionCommands.js
index fdaa620..023ec53 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/extensionCommands.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/extensionCommands.js
@@ -12,7 +12,7 @@
 /*global window define orion URL*/
 /*browser:true*/
 
-define(["require", "orion/Deferred", "orion/commands", "orion/editor/regex", "orion/contentTypes", "orion/URITemplate", "orion/i18nUtil", "orion/URL-shim", "orion/PageLinks"],
+define(["require", "orion/Deferred", "orion/commands", "orion/regex", "orion/contentTypes", "orion/URITemplate", "orion/i18nUtil", "orion/URL-shim", "orion/PageLinks"],
 	function(require, Deferred, mCommands, mRegex, mContentTypes, URITemplate, i18nUtil, _, PageLinks){
 
 	/**
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/searchUtils.js b/bundles/org.eclipse.orion.client.ui/web/orion/searchUtils.js
index e2d4b2d..351a6a7 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/searchUtils.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/searchUtils.js
@@ -11,7 +11,7 @@
  *******************************************************************************/
 /*global define window */
 
-define(['i18n!orion/nls/messages', 'require', 'orion/editor/regex', 'orion/commandRegistry', 'orion/PageUtil', 'orion/URITemplate'], function(messages, require, mRegex, mCommands, PageUtil, URITemplate) {
+define(['i18n!orion/nls/messages', 'require', 'orion/regex', 'orion/commandRegistry', 'orion/PageUtil', 'orion/URITemplate'], function(messages, require, mRegex, mCommands, PageUtil, URITemplate) {
 
 /**
  * @name orion.searchUtils.SearchParams
diff --git a/bundles/org.eclipse.orion.client.ui/web/plugins/site/siteServiceImpl.js b/bundles/org.eclipse.orion.client.ui/web/plugins/site/siteServiceImpl.js
index e627b6b..d699afd 100644
--- a/bundles/org.eclipse.orion.client.ui/web/plugins/site/siteServiceImpl.js
+++ b/bundles/org.eclipse.orion.client.ui/web/plugins/site/siteServiceImpl.js
@@ -10,7 +10,7 @@
  ******************************************************************************/
 /*global define document window*/
 /*jslint regexp:false*/
-define(['require', 'orion/xhr', 'orion/editor/regex'], function(require, xhr, regex) {
+define(['require', 'orion/xhr', 'orion/regex'], function(require, xhr, regex) {
 	
 	var temp = document.createElement('a');
 	
diff --git a/bundles/org.eclipse.orion.client.ui/web/shell/extensionCommands.js b/bundles/org.eclipse.orion.client.ui/web/shell/extensionCommands.js
index 2f9cc6b..ffa9512 100644
--- a/bundles/org.eclipse.orion.client.ui/web/shell/extensionCommands.js
+++ b/bundles/org.eclipse.orion.client.ui/web/shell/extensionCommands.js
@@ -23,7 +23,7 @@
  * depend on everything else in the file. 

  */

  

-define(["require", "orion/Deferred", "orion/commands", "orion/editor/regex", "orion/contentTypes", "orion/URITemplate", "orion/i18nUtil", "orion/URL-shim", "orion/PageLinks"],

+define(["require", "orion/Deferred", "orion/commands", "orion/regex", "orion/contentTypes", "orion/URITemplate", "orion/i18nUtil", "orion/URL-shim", "orion/PageLinks"],

 	function(require, Deferred, mCommands, mRegex, mContentTypes, URITemplate, i18nUtil, _, PageLinks){

 

 	/**