1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/examples/regex
Alexander Medvednikov 6756d28595 all: 2023 copyright
2023-03-28 22:55:57 +02:00
..
pcre.vv
readme.md docs: unify format of notes (#17294) 2023-02-13 10:29:02 +02:00
regex_example.v all: 2023 copyright 2023-03-28 22:55:57 +02: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.

Note

You need to first do: v install pcre, for the pcre module to work.

You can find examples of both in this directory.