📜  引号内的 python 正则表达式 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:40.483000             🧑  作者: Mango

代码示例1
"(?:\\.|[^"\\])*"

"       # Match a quote.
(?:     # Either match...
 \\.    # an escaped character
|       # or
 [^"\\] # any character except quote or backslash.
)*      # Repeat any number of times.
"       # Match another quote.