diff --git a/bin/regex-escape b/bin/regex-escape index 3ea1644..0fb52f8 100755 --- a/bin/regex-escape +++ b/bin/regex-escape @@ -3,5 +3,6 @@ import re, sys -input = sys.stdin.read() -print(re.escape(input)) +input = sys.stdin.read().splitlines() +for line in input: + print(re.escape(line))