v/examples/regex
spaceface b712af56fd
all: bring back `panic(err.msg)` -> `panic(err)` (#9022)
2021-03-01 00:18:14 +01:00
..
pcre.vv examples: add a template example, update the regex examples (#8829) 2021-02-19 12:39:15 +02:00
readme.md examples: add a template example, update the regex examples (#8829) 2021-02-19 12:39:15 +02:00
regex_example.v all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
regex_with_memoization.v examples: add a template example, update the regex examples (#8829) 2021-02-19 12:39:15 +02:00

readme.md

regex

There are 2 ways to do regex: a) using the native module called regex b) using an exteranl module called pcre, which wraps the C library pcre. NB: you need to first do: v install pcre, for the pcre module to work.

You can find examples of both in this directory.