소스 검색

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

- added \w as single whitespace separator
Daniel-Constantin Mierla 1 개월 전
부모
커밋
6c74f6007d
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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: