dzirafek na pythonach
Thursday, 13 August 2015
Day 2 - Regular expressions
huhu new huragan
def
match_sxz
(
noun
):
return
re
.
search
(
'[sxz]$'
,
noun
)
# []
So [sxz] means match “s", or"x", or "z”, but
onl
y one of them.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment