There are 2 ways to do regex:
- using the native module called
regex
. - 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.