Explorar o código

pv: proper match of all whitespaces for {s.select,idx,\s}

- added \w as single whitespace separator
Daniel-Constantin Mierla hai 1 mes
pai
achega
6c74f6007d
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/modules/pv/pv_trans.c

+ 3 - 0
src/modules/pv/pv_trans.c

@@ -821,6 +821,9 @@ int tr_eval_string(
 						c = '\t';
 						break;
 					case 's':
+						c = 1;
+						break;
+					case 'w':
 						c = ' ';
 						break;
 					default: