Skip to content

Commit 8fca674

Browse files
committed
fix: fix special escaped regular expression
1 parent d6ec1af commit 8fca674

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

lib/fluent/plugin/filter_masking.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def initialize
6060

6161
@handleSpecialEscapedJsonCases = false
6262
@specialEscapedJsonRegexs = {
63-
Regexp.new(/,(( *)(\\*)("*)( *)),/m) => "\1,"
63+
Regexp.new(/,(( *)(\\+)("*)( *)),/) => "\1,"
6464
}
6565
end
6666

lib/fluent/plugin/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module FilterMasking
2-
VERSION = "1.3.0"
2+
VERSION = "1.3.1"
33
end

0 commit comments

Comments
 (0)