This link has been bookmarked by 37 people . It was first bookmarked on 02 Mar 2006, by Babak soltani.
-
Heinz WittenbrinkTutorial zu regulären Ausdrücken in Python - sehe nützlich wenn man mit digitalen Texten arbeitet
-
Anomit Ghoshnice regex tut for python
-
RussNice easy tutorial on regular expressions in python.
-
This document is an introductory tutorial to using regular expressions in Python with the re module. It provides a gentler introduction than the corresponding section in the Library Reference.
This document is available from http://www.amk.ca/python/howto.
-
-
-
3.5 Compilation Flags
-
-
-
Now, you can try matching various strings against the RE
[a-z]+
. An empty string shouldn't match at all, since
+
means 'one or more repetitions'.
match()
should
return
None
in this case, which will cause the interpreter to
print no output. You can explicitly print the result of
match()
to make this clear.
-
-
timeuserInfo on using Regular expressions in Python
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.