mirror of
https://github.com/sys-fs/seddy
synced 2024-11-26 04:57:18 -05:00
Match sed commands at start of line only
This commit is contained in:
parent
d12348ef7a
commit
86c94e4a4a
2
seddy.py
2
seddy.py
@ -12,7 +12,7 @@ send = open('/tmp/' + server + '.out', 'w')
|
|||||||
|
|
||||||
parse_msg = re.compile(' :(.*)')
|
parse_msg = re.compile(' :(.*)')
|
||||||
parse_sed = re.compile('(?<!\\\\)/')
|
parse_sed = re.compile('(?<!\\\\)/')
|
||||||
is_sed = re.compile('s/.*/.*')
|
is_sed = re.compile('^s/.*/.*')
|
||||||
|
|
||||||
class Queue:
|
class Queue:
|
||||||
size = 0
|
size = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user