Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    transmogrify.regexp 0.2.0

    Download button

    No screenshots available
    Downloads: 116  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Alex Clark | More programs
    Other/Proprietary Li... / FREE
    September 2nd, 2011, 01:37 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    transmogrify.regexp description

    Modify key values via regexp

    transmogrify.regexp is a Python module that allows you to use regular expressions and format strings to search and replace key values in a Transmogrifier pipeline. If your results are grouped, you may optionally specify a group order.

    Installation

    Sample installation (via mr.migrator):

    [buildout]
    develop = .
    extends = http://x.aclark.net/plone/4.1.x/develop.cfg
    parts += migrate

    [migrate]
    recipe = mr.migrator
    eggs =
     transmogrify.extract
     transmogrify.filesystem
     transmogrify.ploneremote
     transmogrify.pathsorter
     transmogrify.print
    pipeline = pipeline.cfg


    Usage


    Sample usage:

    [apply_regexp]
    blueprint = transmogrify.regexp
    key = _path
    expression = /(.*)/(\d\d\d\d)/(\d\d)/(\d\d)/(.+)/index.html
    format = %%s/%%s-%%s%%s%%s.html
    order = 0,4,1,2,3



    Product's homepage

    Requirements:

    · Python

    What's New in This Release: [ read full changelog ]

    · Fix brown bag [aclark]

      


    TAGS:

    key values | value modifier | regexp | key | values

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM