Changes between Version 2 and Version 3 of Ticket #14336, comment 1
- Timestamp:
- Aug 9, 2018, 10:13:01 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14336, comment 1
v2 v3 7 7 https://github.com/haiku/haiku/blob/master/src/apps/text_search/Grepper.cpp#L272 8 8 9 {{{#!cpp 10 - if (! fRegularExpression) 11 - argv[argc++] = "-F"; // no a regexp: force fixed string, 12 + argv[argc++] = fRegularExpression ? "-e" : "-F"; 9 {{{ 10 #!diff 11 --- current 12 +++ proposed change 13 @@ -272,2 +272,1 @@ 14 - if (! fRegularExpression) 15 - argv[argc++] = "-F"; // no a regexp: force fixed string, 16 + argv[argc++] = fRegularExpression ? "-e" : "-F"; 13 17 }}}