Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
@\w+|[a-z_A-Z]+(?=\=)|(?<=\=)\w+(?# =后面的变量或者数字)|(?<=\=)\'.+\'|(?<=\=)\".+\"(?# =后面的字符串)|(?<=\=)\[\S+\](?#数组)
"
gm

Description

bkengine 单行宏匹配

Submitted by anonymous - 2 years ago