Build your own grep
Project · challenge · 2024
Build your own grep is his C++ solution to CodeCrafters' grep challenge: a version of the grep search tool with a regular-expression engine written by hand rather than taken from a library. The challenge works through regex syntax a piece at a time: character classes, anchors, quantifiers, alternation and groups. It is built with CMake and vcpkg.
See also
In the knowledge graph
Build your own grep and the 8 things it is linked to. Open any dot for its page, or explore it in the full graph.
As data
Everything on this page is read from triples in the knowledge graph. These are the 20 it states about Build your own grep, and 2 more its ontology implies; the console runs SPARQL over the whole graph, here in your browser.
@prefix id: <https://ask.chaipat.cc/id/> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix cj: <https://ask.chaipat.cc/ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . id:OwnGrep a cj:Project ; rdfs:label "Build your own grep" ; cj:description "grep with a hand-written regular-expression engine (CodeCrafters)." ; cj:context id:OpenSource ; cj:repository "https://github.com/AppleBoiy/grep"^^xsd:anyURI ; cj:firstCommit "2024-07-02"^^xsd:date ; cj:lastCommit "2024-07-02"^^xsd:date ; cj:commitCount 1 ; cj:kind "challenge" ; cj:theme id:ThemeSystems ; cj:uses id:CPP , id:CMake , id:Vcpkg ; cj:tier 3 ; cj:integrates id:CodeCrafters ; cj:partOf id:CodeCraftersSeries ; cj:mentions id:OwnShell ; cj:article "https://ask.chaipat.cc/wiki/OwnGrep"^^xsd:anyURI ; cj:activeIn id:Y2024 ; cj:activity _:b118 .