From 74d290b9c2be6352813c71ad6036a24ddacfae79 Mon Sep 17 00:00:00 2001 From: Roberto Aloi Date: Tue, 6 Dec 2016 11:31:28 +0100 Subject: Restrict regexp to match on files starting with '._' --- src/rebar_erlc_compiler.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rebar_erlc_compiler.erl') diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl index 325bb4f..d4d257f 100644 --- a/src/rebar_erlc_compiler.erl +++ b/src/rebar_erlc_compiler.erl @@ -48,7 +48,7 @@ -type compile_opt() :: {recursive, boolean()}. -define(DEFAULT_OUTDIR, "ebin"). --define(RE_PREFIX, "^[^._]"). +-define(RE_PREFIX, "^(?!._)"). %% =================================================================== %% Public API -- cgit v1.1