python模式标识符?正则表达式?

2024-10-01 13:39:36 发布

您现在位置:Python中文网/ 问答频道 /正文

所以我需要确定模式“X”或“spaceCAPITAL” 示例:

string="Hello World, This is KZ"

程序会选出:

^{pr2}$

Tags: 程序示例helloworldstringis模式this