mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-11-15 03:35:20 +00:00
8de415c4fd
By turning the (?:…) into (?=…) they become lookaheads and are not part of the returned string in $tail any more. This is exactly what we want here. All we want is to *know* if the dot, question or exclamation mark is followed by a space. But we don't need the space captured. Change-Id: I4be715c4c084165e5ab25da77609f12ffce4d385 |
||
---|---|---|
.. | ||
ApiQueryExtractsTest.php | ||
ExtractFormatterTest.php | ||
TextTruncatorTest.php |