Back to index

plone3  3.1.7
Classes | Namespaces | Functions | Variables
__init__.py File Reference

Go to the source code of this file.

Classes

class  plone.i18n.normalizer.IDNormalizer
class  plone.i18n.normalizer.FileNameNormalizer
class  plone.i18n.normalizer.URLNormalizer

Namespaces

namespace  plone.i18n.normalizer

Functions

def plone.i18n.normalizer.cropName

Variables

tuple plone.i18n.normalizer.FILENAME_REGEX = re.compile(r"^(.+)\.(\w{,4})$")
tuple plone.i18n.normalizer.IGNORE_REGEX = re.compile(r"['\"]")
tuple plone.i18n.normalizer.NON_WORD_REGEX = re.compile(r"[\W\-]+")
tuple plone.i18n.normalizer.DANGEROUS_CHARS_REGEX = re.compile(r"[!$%&()*+,/:;<=>?@\\^{|}\[\]~`]+")
tuple plone.i18n.normalizer.URL_DANGEROUS_CHARS_REGEX = re.compile(r"[!#$%&()*+,/:;<=>?@\\^{|}\[\]~`]+")
tuple plone.i18n.normalizer.MULTIPLE_DASHES_REGEX = re.compile(r"\-+")
tuple plone.i18n.normalizer.EXTRA_DASHES_REGEX = re.compile(r"(^\-+)|(\-+$)")
int plone.i18n.normalizer.MAX_LENGTH = 50
int plone.i18n.normalizer.MAX_FILENAME_LENGTH = 1023
int plone.i18n.normalizer.MAX_URL_LENGTH = 255
tuple plone.i18n.normalizer.idnormalizer = IDNormalizer()
tuple plone.i18n.normalizer.filenamenormalizer = FileNameNormalizer()
tuple plone.i18n.normalizer.urlnormalizer = URLNormalizer()