1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/examples/regex
2022-11-15 16:53:13 +03: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 vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
regex_with_memoization.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00

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.