質問

I need to match "String""" as two strings.

I'm using this for my school project (Lexer implementation) and I'm having a problem with situation when I get something like "Something""" being matched as one string Something""

Thank you guys in advance!

役に立ちましたか?

解決

How about

"(.*?)"

where *? is the lazy 0 or more token.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top