Last active
March 26, 2020 09:07
-
-
Save rayepeng/b24c3eb6efe67e39bc43fcf846c2cbc9 to your computer and use it in GitHub Desktop.
[python正则表达式]#python#re
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [7]: re.findall(r'(?i)yes', "Yes,yeS,yes") | |
Out[7]: ['Yes', 'yeS', 'yes'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment