国产成人精品久久免费动漫-国产成人精品天堂-国产成人精品区在线观看-国产成人精品日本-a级毛片无码免费真人-a级毛片毛片免费观看久潮喷

您的位置:首頁技術(shù)文章
文章詳情頁

Python正則表達(dá)式問題,(?i)什么意思

瀏覽:82日期:2022-07-02 18:25:08

問題描述

filter(re.compile(’(?i)([qwertyuiop]|[asdfghjkl]|[zxcvbnm]*)$’).match, words)如上,這是一個(gè)Python語句,(?i)什么意思?

問題解答

回答1:

(?aiLmsux) (One or more letters from the set ’a’, ’i’, ’L’, ’m’, ’s’, ’u’, ’x’.) The group matches the empty string; the letters set the corresponding flags: re.A (ASCII-only matching), re.I (ignore case), re.L (locale dependent), re.M (multi-line), re.S (dot matches all), and re.X (verbose), for the entire regular expression. (The flags are described in Module Contents.) This is useful if you wish to include the flags as part of the regular expression, instead of passing a flag argument to the re.compile() function.

Note that the (?x) flag changes how the expression is parsed. It should be used first in the expression string, or after one or more whitespace characters. If there are non-whitespace characters before the flag, the results are undefined.

忽略大小寫

標(biāo)簽: Python 編程
主站蜘蛛池模板: 国产成人a大片大片在线播放 | 亚州三级 | 97视频精品| 天堂av影院| 国产午夜伦伦伦午夜伦 | 国产欧美亚洲三区久在线观看 | 国产成人盗摄精品 | 国产成人免费福利网站 | 日本一级在线播放线观看免 | 欧美三级在线 | 亚洲国产成人久久综合区 | 久久精品99精品免费观看 | 99午夜高清在线视频在观看 | 国产欧美成人免费观看视频 | 久久久久香蕉视频 | 国产精品一区二区丝瓜 | 91香焦视频 | 黄色国产在线观看 | 色本| 国产高清在线精品一区二区 | 狼人久久尹人香蕉尹人 | 久久久久久久久免费影院 | 欧美日韩国产亚洲综合不卡 | 国产精品一二三区 | 岛国大片在线播放免费 | 成年女人免费视频播放成年m | 亚洲综合一 | 色视频在线观看免费 | 成人精品一区二区三区中文字幕 | 香港aa三级久久三级 | 久热草在线 | 日本aaaa精品免费视频 | 欧美成国产精品 | 日韩美女免费线视频 | 欧美理论片在线观看一区二区 | 日本加勒比视频在线观看 | 国产福利拍拍拍 | 亚洲一级毛片免费观看 | 韩国毛片在线观看 | 亚洲精国产一区二区三区 | 色偷偷亚洲女人天堂观看欧 |