当我在RegExr工具中尝试
我使用了以下示例文本。
\(\((.+?)\)\)
和\(\(\s*(.+?)\s*\)\)
时,我找不到区别。两者都突出了相同的文本。有没有\s*
的区别是什么?或者为什么需要\s*
?我使用了以下示例文本。
I (( a verb, past tense )) to the sandwich shop across the street for lunch
yesterday. I go there at least ((a number)) times a week. They have the best
Philly Cheesesteak, full of ((a plural noun)) and ((a plural noun)) and gooey,
stringy ((a noun)).