Skip to content

Commit

Permalink
fix the regex to better match the end of data
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim Dowling committed Jan 31, 2017
1 parent a974fbb commit b92eee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/my_obfuscate/copy_statement_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def parse(obfuscator, config, input_io, output_io)
end

output_io.write line
elsif line.match /\S*\.\n/
elsif line.match /^\\\.$/
inside_copy_statement = false

output_io.write line
Expand Down

0 comments on commit b92eee2

Please sign in to comment.