DmitryMigunov / simple-grep

Custom grep implementation with libpcre

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test task

Program in C that translates a pattern specification into regular expression, processes lines of output text received from STDIN using regexps to qualify matches and write matching lines to STDOUT.

%{N} where N is non-negative integer - named non-greedy token, which match all text

There are two modifiers: S# and G. G for greedy, S modifier set count of captured spaces.

About

Custom grep implementation with libpcre


Languages

Language:C 92.4%Language:Shell 7.6%