mirror of
https://github.com/rasbt/python_reference.git
synced 2024-12-18 08:10:24 +00:00
a
This commit is contained in:
commit
0a4b19311e
|
@ -8,10 +8,14 @@ import re
|
||||||
'+' matches all characters that follow (1 or more)
|
'+' matches all characters that follow (1 or more)
|
||||||
'?' makes the previous character optional
|
'?' makes the previous character optional
|
||||||
'{4}' previous character must match exactly 4 times
|
'{4}' previous character must match exactly 4 times
|
||||||
|
<<<<<<< HEAD
|
||||||
'{2-4}' previous character must match exactly 2-4 times
|
'{2-4}' previous character must match exactly 2-4 times
|
||||||
'[0-9]' matches all characters in the set of numbers 0 to 9
|
'[0-9]' matches all characters in the set of numbers 0 to 9
|
||||||
'[A-Z]' matches all characters in the set of A to Z
|
'[A-Z]' matches all characters in the set of A to Z
|
||||||
|
|
||||||
|
=======
|
||||||
|
'{2-4}' previous character must match exactly 2-4 times
|
||||||
|
>>>>>>> 27283e2422d4773456419bf7cb8ee6845a54aff6
|
||||||
'''
|
'''
|
||||||
|
|
||||||
data = '''2013-01-01
|
data = '''2013-01-01
|
||||||
|
|
Loading…
Reference in New Issue
Block a user