psss...I want to move from Perl to Python

Jussi Piitulainen jussi.piitulainen at helsinki.fi
Fri Jan 29 01:24:31 EST 2016


Fillmore writes:

> Does Python have Regexps?

Start by importing the re module (as said). Find its documentation at
the following link (together with a list of many other modules that come
standard with Python). Also, once imported to the interactive session,
help(re), dir(re).

https://docs.python.org/3/library/index.html

But there's an alternative implementation, which should be easy to
install (worked for me when I needed it), called regex. Find it at the
following link and see for yourself.

https://pypi.python.org/pypi/regex



More information about the Python-list mailing list