久久福利_99r_国产日韩在线视频_直接看av的网站_中文欧美日韩_久久一

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

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

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

問題描述

filter(re.compile(’(?i)([qwertyuiop]|[asdfghjkl]|[zxcvbnm]*)$’).match, words)如上,這是一個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.

忽略大小寫

標簽: Python 編程
主站蜘蛛池模板: 久久九九| 国产精品视频播放 | 欧美成人高清视频 | 一区二区三区四区在线 | 日韩中文字 | 亚洲午夜免费视频 | 国产一区二区三区在线 | 国产在线观看二区 | 日韩aaa视频 | 91精品国产91久久久久游泳池 | 女同理伦片在线观看禁男之园 | 香蕉久久夜色精品国产使用方法 | 懂色av色香蕉一区二区蜜桃 | 成人片免费看 | 亚洲综合第一页 | 国产精品久久国产精品99 gif | 亚洲处破女| 亚洲男人天堂网 | 国产成人精品在线 | 国产区精品| 亚洲精品v | 特级黄一级播放 | 免费在线黄色电影 | 亚洲精品乱码久久久久久蜜桃91 | 午夜精品一区二区三区在线视频 | 一区二区在线看 | 国产特级毛片 | 国产综合亚洲精品一区二 | 国产精品毛片一区视频播 | 老司机午夜免费精品视频 | 亚洲蜜臀av乱码久久精品蜜桃 | 日韩成人在线视频 | 韩国三级午夜理伦三级三 | 一级免费毛片 | 国产精品欧美久久久久一区二区 | 久久精品综合 | 久久蜜桃av一区二区天堂 | 久久久久国产精品免费免费搜索 | 亚洲一区二区伦理 | 亚洲欧美精品一区二区 | 欧美黄色片免费观看 |