1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

examples: add a template example, update the regex examples (#8829)

This commit is contained in:
kristof de spiegeleer
2021-02-19 11:39:15 +01:00
committed by GitHub
parent 6e262b5d84
commit 3f3bec45fa
12 changed files with 654 additions and 52 deletions

8
examples/regex/readme.md Normal file
View File

@ -0,0 +1,8 @@
# 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.