/^"((?:[^"]|\.)*)"/
Against this string:
"quote\_with\escaped"characters" more
It only matches until the "
, although I've clearly defined
as an escape character (and it matches \_
and \
fine...).
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…