Browse Source

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

- added \w as single whitespace separator
Daniel-Constantin Mierla 1 tháng trước cách đây
mục cha
commit
6c74f6007d
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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: