![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
正则表达式
csdn_gddf102384398
这个作者很懒,什么都没留下…
展开
-
万能Makefile
INC:=-I ./include #every includePath should add -I CPPS:=$(wildcard src/*.cpp) CS:=$(wildcard src/*.c) BUILD_DIR:=build TARGET:=$(BUILD_DIR)/main LIBRARY_PATH:= STATIC_LIBRARY:= SHARED_LIBRARY:= LDFLAGS:= #compile shared library should add -shared flag C.原创 2022-04-28 18:46:22 · 455 阅读 · 0 评论 -
Python正则表达式
import re s=“bb” re.match(r"BB",s) #将会返回None,即匹配失败 re.match(r"BB",s,re.I) #匹配成功,因为忽略大小写 reg_exp=r"^1$" #这个正则,只能匹配"1",不能匹配"11",这个表达式的意思是: ^ 匹配开始位置 1 匹配1 $ 匹配结原创 2018-12-14 18:05:32 · 102 阅读 · 0 评论