starting to work...
[freeside.git] / rt / share / html / NoAuth / RichText / FCKeditor / editor / _source / internals / fckregexlib.js
diff --git a/rt/share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckregexlib.js b/rt/share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckregexlib.js
deleted file mode 100644 (file)
index 7c98f07..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-/*\r
- * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r
- * Copyright (C) 2003-2009 Frederico Caldeira Knabben\r
- *\r
- * == BEGIN LICENSE ==\r
- *\r
- * Licensed under the terms of any of the following licenses at your\r
- * choice:\r
- *\r
- *  - GNU General Public License Version 2 or later (the "GPL")\r
- *    http://www.gnu.org/licenses/gpl.html\r
- *\r
- *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")\r
- *    http://www.gnu.org/licenses/lgpl.html\r
- *\r
- *  - Mozilla Public License Version 1.1 or later (the "MPL")\r
- *    http://www.mozilla.org/MPL/MPL-1.1.html\r
- *\r
- * == END LICENSE ==\r
- *\r
- * These are some Regular Expressions used by the editor.\r
- */\r
-\r
-var FCKRegexLib =\r
-{\r
-// This is the Regular expression used by the SetData method for the "'" entity.\r
-AposEntity             : /'/gi ,\r
-\r
-// Used by the Styles combo to identify styles that can't be applied to text.\r
-ObjectElements : /^(?:IMG|TABLE|TR|TD|TH|INPUT|SELECT|TEXTAREA|HR|OBJECT|A|UL|OL|LI)$/i ,\r
-\r
-// List all named commands (commands that can be interpreted by the browser "execCommand" method.\r
-NamedCommands  : /^(?:Cut|Copy|Paste|Print|SelectAll|RemoveFormat|Unlink|Undo|Redo|Bold|Italic|Underline|StrikeThrough|Subscript|Superscript|JustifyLeft|JustifyCenter|JustifyRight|JustifyFull|Outdent|Indent|InsertOrderedList|InsertUnorderedList|InsertHorizontalRule)$/i ,\r
-\r
-BeforeBody     : /(^[\s\S]*\<body[^\>]*\>)/i,\r
-AfterBody      : /(\<\/body\>[\s\S]*$)/i,\r
-\r
-// Temporary text used to solve some browser specific limitations.\r
-ToReplace              : /___fcktoreplace:([\w]+)/ig ,\r
-\r
-// Get the META http-equiv attribute from the tag.\r
-MetaHttpEquiv  : /http-equiv\s*=\s*["']?([^"' ]+)/i ,\r
-\r
-HasBaseTag             : /<base /i ,\r
-HasBodyTag             : /<body[\s|>]/i ,\r
-\r
-HtmlOpener             : /<html\s?[^>]*>/i ,\r
-HeadOpener             : /<head\s?[^>]*>/i ,\r
-HeadCloser             : /<\/head\s*>/i ,\r
-\r
-// Temporary classes (Tables without border, Anchors with content) used in IE\r
-FCK_Class              : /\s*FCK__[^ ]*(?=\s+|$)/ ,\r
-\r
-// Validate element names (it must be in lowercase).\r
-ElementName            : /(^[a-z_:][\w.\-:]*\w$)|(^[a-z_]$)/ ,\r
-\r
-// Used in conjunction with the FCKConfig.ForceSimpleAmpersand configuration option.\r
-ForceSimpleAmpersand : /___FCKAmp___/g ,\r
-\r
-// Get the closing parts of the tags with no closing tags, like <br/>... gets the "/>" part.\r
-SpaceNoClose   : /\/>/g ,\r
-\r
-// Empty elements may be <p></p> or even a simple opening <p> (see #211).\r
-EmptyParagraph : /^<(p|div|address|h\d|center)(?=[ >])[^>]*>\s*(<\/\1>)?$/ ,\r
-\r
-EmptyOutParagraph : /^<(p|div|address|h\d|center)(?=[ >])[^>]*>(?:\s*|&nbsp;)(<\/\1>)?$/ ,\r
-\r
-TagBody                        : /></ ,\r
-\r
-GeckoEntitiesMarker : /#\?-\:/g ,\r
-\r
-// We look for the "src" and href attribute with the " or ' or without one of\r
-// them. We have to do all in one, otherwise we will have problems with URLs\r
-// like "thumbnail.php?src=someimage.jpg" (SF-BUG 1554141).\r
-ProtectUrlsImg : /<img(?=\s).*?\ssrc=((?:(?:\s*)("|').*?\2)|(?:[^"'][^ >]+))/gi ,\r
-ProtectUrlsA   : /<a(?=\s).*?\shref=((?:(?:\s*)("|').*?\2)|(?:[^"'][^ >]+))/gi ,\r
-ProtectUrlsArea        : /<area(?=\s).*?\shref=((?:(?:\s*)("|').*?\2)|(?:[^"'][^ >]+))/gi ,\r
-\r
-Html4DocType   : /HTML 4\.0 Transitional/i ,\r
-DocTypeTag             : /<!DOCTYPE[^>]*>/i ,\r
-HtmlDocType            : /DTD HTML/ ,\r
-\r
-// These regex are used to save the original event attributes in the HTML.\r
-TagsWithEvent  : /<[^\>]+ on\w+[\s\r\n]*=[\s\r\n]*?('|")[\s\S]+?\>/g ,\r
-EventAttributes        : /\s(on\w+)[\s\r\n]*=[\s\r\n]*?('|")([\s\S]*?)\2/g,\r
-ProtectedEvents : /\s\w+_fckprotectedatt="([^"]+)"/g,\r
-\r
-StyleProperties : /\S+\s*:/g,\r
-\r
-// [a-zA-Z0-9:]+ seams to be more efficient than [\w:]+\r
-InvalidSelfCloseTags : /(<(?!base|meta|link|hr|br|param|img|area|input)([a-zA-Z0-9:]+)[^>]*)\/>/gi,\r
-\r
-// All variables defined in a style attribute or style definition. The variable\r
-// name is returned with $2.\r
-StyleVariableAttName : /#\(\s*("|')(.+?)\1[^\)]*\s*\)/g,\r
-\r
-RegExp : /^\/(.*)\/([gim]*)$/,\r
-\r
-HtmlTag : /<[^\s<>](?:"[^"]*"|'[^']*'|[^<])*>/\r
-} ;\r