aboutsummaryrefslogtreecommitdiff
path: root/src/econf.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/econf.erl')
-rw-r--r--src/econf.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/econf.erl b/src/econf.erl
index a2c22a43e..b150056ca 100644
--- a/src/econf.erl
+++ b/src/econf.erl
@@ -28,7 +28,7 @@
-export([pos_int/0, pos_int/1, non_neg_int/0, non_neg_int/1]).
-export([int/0, int/2, number/1, octal/0]).
-export([binary/0, binary/1, binary/2]).
--export([string/0, string/1]).
+-export([string/0, string/1, string/2]).
-export([enum/1, bool/0, atom/0, any/0]).
%% Complex types
-export([url/0, url/1]).
@@ -272,6 +272,9 @@ string() ->
string(Re) ->
yconf:string(Re).
+string(Re, Opts) ->
+ yconf:string(Re, Opts).
+
any() ->
yconf:any().