mirror of
https://github.com/Xevion/exercism.git
synced 2025-12-07 11:15:01 -06:00
grep quick edit
This commit is contained in:
@@ -47,10 +47,4 @@ def grep_individual(pattern, flags, filename):
|
|||||||
# Returns as soon as a match is found
|
# Returns as soon as a match is found
|
||||||
if localmatch(pattern, line):
|
if localmatch(pattern, line):
|
||||||
return filename
|
return filename
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
print(grep("may", "-n -m", ['grep_test.py']))
|
|
||||||
=======
|
|
||||||
def grep(pattern, flags, files):
|
|
||||||
pass
|
|
||||||
>>>>>>> refs/remotes/origin/master
|
|
||||||
Reference in New Issue
Block a user