re

(Python version: 2.7.10)

 

Perl で見られるものと同様な正規表現マッチング操作を提供しています。パターンと検索対象文字列の両方について、 8 ビット文字列と Unicode 文字列を同じように扱えます。

 


upper level

 

DEBUG
DOTALL

I
IGNORECASE

L
LOCALE

M
MULTILINE

S
Scanner

T
TEMPLATE

U
UNICODE

VERBOSE

X

_MAXCACHE
__all__
__builtins__
__doc__
__file__
__name__
__package__
__version__
_alphanum
_cache
_cache_repl
_compile
_compile_repl
_expand
_locale
_pattern_type
_pickle
_subx

compile
copy_reg

error
escape

findall
finditer

match

purge

search
split
sre_compile
sre_parse
sub
subn
sys

template