1
0
mirror of https://github.com/sys-fs/seddy synced 2024-11-22 03:44:17 -05:00

Match sed commands at start of line only

This commit is contained in:
Thomas Mannay 2016-10-31 12:31:04 +00:00 committed by GitHub
parent d12348ef7a
commit 86c94e4a4a

View File

@ -12,7 +12,7 @@ send = open('/tmp/' + server + '.out', 'w')
parse_msg = re.compile(' :(.*)')
parse_sed = re.compile('(?<!\\\\)/')
is_sed = re.compile('s/.*/.*')
is_sed = re.compile('^s/.*/.*')
class Queue:
size = 0