diff options
author | Daniel Bimschas <daniel@bimschas.com> | 2016-11-05 04:10:03 +0100 |
---|---|---|
committer | Diego Parra <diegolparra@gmail.com> | 2016-11-05 05:10:03 +0200 |
commit | 1bd2fcc712cea984864d5a7e13be81a5f150d236 (patch) | |
tree | f8454e4dc4b936cb36e91f98e24dd439253b504b /kamon-core/src/main/java/kamon/util | |
parent | ddd73214a61182823b8f1897687d8d16bb40390b (diff) | |
download | Kamon-1bd2fcc712cea984864d5a7e13be81a5f150d236.tar.gz Kamon-1bd2fcc712cea984864d5a7e13be81a5f150d236.tar.bz2 Kamon-1bd2fcc712cea984864d5a7e13be81a5f150d236.zip |
+ core: support for regex path filters (#388)
Diffstat (limited to 'kamon-core/src/main/java/kamon/util')
-rw-r--r-- | kamon-core/src/main/java/kamon/util/GlobPathFilter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kamon-core/src/main/java/kamon/util/GlobPathFilter.java b/kamon-core/src/main/java/kamon/util/GlobPathFilter.java index 0c7b999c..ac5d08a6 100644 --- a/kamon-core/src/main/java/kamon/util/GlobPathFilter.java +++ b/kamon-core/src/main/java/kamon/util/GlobPathFilter.java @@ -25,7 +25,7 @@ import java.util.regex.Pattern; * @author John E. Bailey * @author <a href="mailto:david.lloyd@redhat.com">David M. Lloyd</a> */ -public final class GlobPathFilter { +public final class GlobPathFilter implements PathFilter { private static final Pattern GLOB_PATTERN = Pattern.compile("(\\*\\*?)|(\\?)|(\\\\.)|(/+)|([^*?]+)"); private final String glob; @@ -107,4 +107,4 @@ public final class GlobPathFilter { } return Pattern.compile(patternBuilder.toString()); } -}
\ No newline at end of file +} |