摘要: 1. 常用的元字符 1. . 匹配任意字符,除换行符\n外 re.search(r'[a-z].*', 'python\n123@11.com') python [a-z]表示小写字母,.表示匹配除换行符外任意字符,*表示0次或多次 2. * 匹配零次或多次符合项,贪婪模式 re.search(r' 阅读全文
posted @ 2023-02-25 23:20 无敌小豆包 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 1. 建表 create table t1 ( a int PRIMARY key, b int, c int, d int, e varchar(20) )ENGINE=INNODB insert into t1 value(4,3,1,1,'d'); insert into t1 value(1 阅读全文
posted @ 2023-02-25 17:27 无敌小豆包 阅读(82) 评论(0) 推荐(0) 编辑