fix handling of | in s/// commands of built-in sed
Change-Id: I139d007d68fb0aed4d9fbe57a14d1ede81ba40d8 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
ef510adea5
commit
a0e32cbf74
@ -106,7 +106,7 @@ static int doSed(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
if (phase == 1
|
||||
&& (c == QLatin1Char('+') || c == QLatin1Char('?')
|
||||
&& (c == QLatin1Char('+') || c == QLatin1Char('?') || c == QLatin1Char('|')
|
||||
|| c == QLatin1Char('{') || c == QLatin1Char('}')
|
||||
|| c == QLatin1Char('(') || c == QLatin1Char(')'))) {
|
||||
// translate sed rx to QRegExp
|
||||
|
Loading…
Reference in New Issue
Block a user