The pre module

(Implementation). This module is a low-level implementation module for the 1.5.2 re module. There’s usually no need to use this module directly (and code using it may stop working in future releases).

Example: Using the pre module
# File: pre-example-1.py

import pre

p = pre.compile("[Python]+")

print p.findall("Python is not that bad")

['Python', 'not', 'th', 't']
 

[comment on/vote for this article]

A Django site. this page was rendered by a django application in 0.00s 2012-02-12 18:45:27.016640. hosted by webfaction.