亚洲精品久久久中文字幕-亚洲精品久久片久久-亚洲精品久久青草-亚洲精品久久婷婷爱久久婷婷-亚洲精品久久午夜香蕉

您的位置:首頁技術文章
文章詳情頁

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

瀏覽:80日期: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 編程
主站蜘蛛池模板: 色天天综合 | 欧美成人一区二区 | 欧美黄三级在线观看 | 手机日韩理论片在线播放 | 久久精品一区二区三区不卡 | 达达兔午夜国产精品 | 全黄a一级毛片 | 国产美女亚洲精品久久久综合 | 久久五月婷 | 人人九九| 中国人免费观看高清在线观看二区 | 一区二区三区欧美 | 国产成人久久综合热 | 国产性videostv另类极品 | 国产成人精品一区二区免费 | 永久免费在线播放 | 欧美播播 | 麻豆影视在线播放 | 日韩免费高清一级毛片久久 | 妖精视频在线观看网站 | 国产视频一区二区在线观看 | 亚洲性色图 | 香蕉视频在线观看国产 | 精品国产97在线观看 | 女人洗澡一级特黄毛片 | 日本 亚洲 欧美 | 久久精品一区 | 黄色片视频在线 | 亚洲精品在线免费看 | 国产日韩欧美一区二区三区在线 | 国产免费拍拍视频在线观看网站 | 99久久久国产精品免费播放器 | 97久久精品午夜一区二区 | 国产菲菲视频在线观看 | 欧美亚洲视频在线观看 | 免费观看成人碰视频公开 | 久热re这里只有精品视频 | 亚洲国产毛片 | 男人j桶进女人p无遮挡动态图二三 | 性短视频在线观看免费不卡流畅 | 手机在线观看亚洲国产精品 |