我找了一個PCRE匹配3+標題案例字(版本3.85)兼容的正則表達式匹配的三個或更多的標題情況單詞組成的字符串,但不匹配包含單詞開始的任何字符串與小寫字母。 例如: - "Gaius Julius Caesar" should match
"Gaius Caesar" should not match
"Gaius Julius Caesar Rome" should match
"Gaiu
我稱之爲「align_summary.txt」文件,該文件是這樣的: Left reads:
Input : 26410324
Mapped : 21366875 (80.9% of input)
of these: 451504 (2.1%) have multiple alignments (4372 have >20)
...more text....
因此,例如,我們在文件中的以下內容: START OF NEW LOG ENTRY
first line
second line KEYWORD
third line
START OF NEW LOG ENTRY
first line
second line
third line
etc... (this file goes on in this manner for a long