문제

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