Skip to content
Snippets Groups Projects
Commit c5982caa authored by Danny Lin's avatar Danny Lin
Browse files

InlineWordLevelDiff regex should be /xsu - FS#2142

parent 3e1ca056
No related branches found
No related tags found
No related merge requests found
......@@ -932,7 +932,7 @@ class InlineWordLevelDiff extends MappedDiff {
}
function _split($lines) {
if (!preg_match_all('/ ( [^\S\n]+ | [0-9_A-Za-z\x80-\xff]+ | . ) (?: (?!< \n) [^\S\n])? /xs',
if (!preg_match_all('/ ( [^\S\n]+ | [0-9_A-Za-z\x80-\xff]+ | . ) (?: (?!< \n) [^\S\n])? /xsu',
implode("\n", $lines), $m)) {
return array(array(''), array(''));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment