例如,这个正则表达式
(.*)<FooBar>
将匹配:
abcde<FooBar>
但是如何让它在多行中匹配呢?
abcde fghij<FooBar>
regex multiline
multiline ×1
regex ×1