Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > re and escape character
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 10th August 02:13
fredrik lundh
External User
 
Posts: 1
Default re and escape character



there's always the manual:

http://docs.python.org/lib/node114.html

compile(pattern[, flags])

Compile a regular expression pattern into a regular expression object,
which can be used for matching using its match() and search() methods,
described below.

The expression's behaviour can be modified by specifying a flags value.

/.../

S
DOTALL

Make the "." special character match any character at all, including a
newline; without this flag, "." will match anything except a newline. /.../
</F>
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666