File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1818 - run : rebar3 compile
1919 - run : rebar3 xref
2020 - run : rebar3 dialyzer
21+ if : matrix.otp != 26 # Some re types are not exported in OTP 26
2122 - run : rebar3 eunit -v
2223 - name : Send to Coveralls
2324 if : matrix.otp == 26
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ binary() ->
243243binary (Regexp ) ->
244244 binary (Regexp , []).
245245
246- -spec binary (iodata (), [ re :compile_option ()] ) -> validator (binary ()).
246+ -spec binary (iodata (), re :compile_options () ) -> validator (binary ()).
247247binary (Regexp , Opts ) when is_list (Regexp ) orelse is_binary (Regexp ) ->
248248 fun (Val ) ->
249249 Bin = to_binary (Val ),
@@ -265,7 +265,7 @@ string() ->
265265string (Regexp ) ->
266266 string (Regexp , []).
267267
268- -spec string (iodata (), [ re :compile_option ()] ) -> validator (string ()).
268+ -spec string (iodata (), re :compile_options () ) -> validator (string ()).
269269string (Regexp , Opts ) when is_list (Regexp ) orelse is_binary (Regexp ) ->
270270 fun (Val ) ->
271271 Str = to_string (Val ),
@@ -451,7 +451,7 @@ timeout(Unit, Inf) ->
451451re () ->
452452 re ([]).
453453
454- -spec re ([ re :compile_option ()] ) -> validator (re :mp ()).
454+ -spec re (re :compile_options () ) -> validator (re :mp ()).
455455re (Opts ) ->
456456 fun (Val ) ->
457457 Bin = to_binary (Val ),
@@ -465,7 +465,7 @@ re(Opts) ->
465465glob () ->
466466 glob ([]).
467467
468- -spec glob ([ re :compile_option ()] ) -> validator (re :mp ()).
468+ -spec glob (re :compile_options () ) -> validator (re :mp ()).
469469glob (Opts ) ->
470470 fun (Val ) ->
471471 S = to_string (Val ),
You can’t perform that action at this time.
0 commit comments