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:

committed by
GitHub

parent
6e262b5d84
commit
3f3bec45fa
8
examples/regex/readme.md
Normal file
8
examples/regex/readme.md
Normal 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.
|
Reference in New Issue
Block a user