• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

assets/H03-May-2022-

src/H07-Oct-2018-1,6951,377

.gitignoreH A D07-Oct-20187 21

LICENSEH A D07-Oct-20181 KiB2217

README.mdH A D07-Oct-20181 KiB3427

build.shH A D07-Oct-2018701 3627

env.shH A D07-Oct-201862 42

install.shH A D07-Oct-2018559 3424

README.md

1# crex
2Explore, test, and check regular expressions in the terminal.
3
4![crex example](https://raw.githubusercontent.com/octobanana/crex/master/assets/crex.png)
5
6Given your regular expression and text, crex will output matches, capture groups, and details.
7crex has a range of options, allowing fine grained control over matching and output.
8It uses ECMAScript grammar by default, while also accepting posix, extended posix, awk, grep, and extended grep grammars.
9Input can be received by piped stdin, or by using the __-s__ option.
10Output options include plain, colour, and json formats.
11
12## Build
13Environment:
14* tested on linux
15* c++ 14 compiler
16* cmake
17
18Libraries:
19* my [parg](https://github.com/octobanana/parg) library, for parsing cli args, included as `./src/parg.hh`
20
21The following shell commands will build the project:
22```bash
23git clone <repo_name>
24cd <repo_name>
25./build.sh -r
26```
27To build the debug version, run the build script without the -r flag.
28
29## Install
30The following shell commands will install the project:
31```bash
32./install.sh -r
33```
34