4
当我在RegExr tool中尝试\(\((.+?)\)\)
和\(\(\s*(.+?)\s*\)\)
时,我无法找到差异。两人都强调了相同的文字。有或没有\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)).
在此先感谢。
谢谢,我已经忘记了这个词。 –