v/examples/regex
2024-05-01 14:48:55 +03:00
..
pcre.vv examples: fix typos (#18229) 2023-05-25 16:54:46 +03:00
readme.md examples: fix typo (exteranl -> external) and tidy up list in examples/regex/readme.md (#20601) 2024-01-20 19:53:16 +02:00
regex_example.v examples: fix v -N examples/regex/regex_example.v 2024-05-01 14:48:55 +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:

  1. using the native module called regex.
  2. using an external 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.