色综合图-色综合图片-色综合图片二区150p-色综合图区-玖玖国产精品视频-玖玖香蕉视频

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

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

瀏覽:108日期: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 編程
主站蜘蛛池模板: 亚洲国产三级在线观看 | 男女一级爽爽快视频 | 欧美高清在线精品一区二区不卡 | 欧美性色xo影院在线观看 | 国产精品亚洲专一区二区三区 | 99成人国产精品视频 | 亚洲视频免费一区 | 97影院在线午夜 | 国产丝袜美腿高跟白浆 | 亚洲精品欧美精品国产精品 | 美国毛片基地a级e片 | 一级毛片在播放免费 | 国产二区精品 | 黄色天堂在线 | 最刺激黄a大片免费观看下截 | 日韩在线视频免费 | 日韩精品中文字幕视频一区 | 亚洲网址在线观看 | 日本草草影院 | 日韩欧美不卡一区二区三区 | 欧美一区二区三区不卡 | 91亚洲精品一区二区福利 | 亚洲网站在线播放 | 欧美日韩高清不卡免费观看 | 国产成人精品曰本亚洲77美色 | 成年美女黄网站色视频大全免费 | 小毛片在线观看 | 国产三级网站在线观看 | 欧美黄成人免费网站大全 | 日韩毛片高清免费 | 国产女人在线观看 | xxxww在线播放 | 久久一本色道综合 | 窝窝女人体国产午夜视频 | 美女操穴视频 | 久久精品视频99精品视频150 | 成人亚洲网 | 久久在线视频免费观看 | 夜精品a一区二区三区 | 亚洲 欧美 丝袜 | 全午夜免费一级毛片 |