LINUX.ORG.RU

История изменений

Исправление expelled, (текущая версия) :

> cat call
call asfsdf
call-var asdfsaf
call
calling asfsfga
> grep -P "^(?:call\s|call$)" call 
call asfsdf
call
> 

почему не работае \b

Matches a word boundary. Boundaries are determined when a word character is NOT followed or NOT preceeded with another word character

Исходная версия expelled, :

> cat call
call asfsdf
call-var asdfsaf
call
calling asfsfga
> grep -P "^(?:call |call$)" call 
call asfsdf
call
> 

почему не работае \b

Matches a word boundary. Boundaries are determined when a word character is NOT followed or NOT preceeded with another word character