Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

grep capture group

# matches and returns b
$ echo "abc" | grep -oP "aK(b)(?=c)" 
b 
# no match
$ echo "abc" | grep -oP "zK(b)(?=c)"
# no match
$ echo "abc" | grep -oP "aK(b)(?=d)"
Comment

PREVIOUS NEXT
Code Example
Shell :: pterodactyl panel update 
Shell :: how to install phpunit 
Shell :: Minercraft set night command 
Shell :: git checkout next commit 
Shell :: how to fast mouse scrolling in ubuntu 20.04 
Shell :: ubuntu windows root directory 
Shell :: ocoaPods not installed or not in valid state. 
Shell :: blame in github 
Shell :: bash convert seconds to date 
Shell :: neofetch in linux 
Shell :: open bash 
Shell :: stop avd 
Shell :: git remove local branch 
Shell :: sudo pkg instatll lando-stable.deb 
Shell :: get current path unix 
Shell :: push image to docker hub 
Shell :: ps command 
Shell :: get the default path batch 
Shell :: linux set environment variable 
Shell :: powershell add line to beginning of file 
Shell :: bash ifelse 
Shell :: @types/react-native-vector-icons 
Shell :: How do i search for available packages from the command-line 
Shell :: zsh virtualenv 
Shell :: mkdir -p parameter 
Shell :: windows mac address ethernet 
Shell :: unzip gz file linux 
Shell :: github actions install postgres 
Shell :: rename a directory in git 
Shell :: linux unique lines 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =