diff options
author | Manuel Rubio <[email protected]> | 2017-03-31 01:14:07 +0100 |
---|---|---|
committer | Manuel Rubio <[email protected]> | 2017-03-31 01:14:07 +0100 |
commit | 74dc036b67427987f54b45beb3adcccd2cf2e27a (patch) | |
tree | bcd80b9d3ea43486b11aa77a089bb1c3275cdb80 /lib/stdlib | |
parent | 5da9e0ab5cb96f2cb37e534b2c1a55c0c2c9783c (diff) | |
download | otp-74dc036b67427987f54b45beb3adcccd2cf2e27a.tar.gz otp-74dc036b67427987f54b45beb3adcccd2cf2e27a.tar.bz2 otp-74dc036b67427987f54b45beb3adcccd2cf2e27a.zip |
Add re:version/0
Diffstat (limited to 'lib/stdlib')
-rw-r--r-- | lib/stdlib/src/re.erl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/stdlib/src/re.erl b/lib/stdlib/src/re.erl index 52d3c35608..28aab7b590 100644 --- a/lib/stdlib/src/re.erl +++ b/lib/stdlib/src/re.erl @@ -33,7 +33,12 @@ %%% BIFs --export([compile/1, compile/2, run/2, run/3, inspect/2]). +-export([version/0, compile/1, compile/2, run/2, run/3, inspect/2]). + +-spec version() -> binary(). + +version() -> + erlang:nif_error(undef). -spec compile(Regexp) -> {ok, MP} | {error, ErrSpec} when Regexp :: iodata(), |